Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 160.5 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9852/0.9852, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2678/0.2678, allocations: 34.86 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.192e-05, allocations: 4.562 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002141/0.002163, allocations: 1.642 MB / 380.4 MB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007442/0.002907, allocations: 0.5486 MB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.241e-05/0.00297, allocations: 0 / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.003245, allocations: 83.58 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.003522, allocations: 103.6 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.003744, allocations: 115.6 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.003899, allocations: 87.73 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.003993, allocations: 8 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.004058, allocations: 51.88 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.004153, allocations: 55.88 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.004169, allocations: 4 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.004245, allocations: 43.92 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.751e-05/0.004292, allocations: 23.91 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.004323, allocations: 11.94 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004484, allocations: 99.53 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004486, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004487, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.004491, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006221/0.005113, allocations: 439.9 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.00515, allocations: 12.03 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.005195, allocations: 20.83 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005329, allocations: 145.1 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.005338, allocations: 384 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.005364, allocations: 4.375 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.005473, allocations: 66.86 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.005483, allocations: 8.125 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.005493, allocations: 384 / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.005501, allocations: 4.375 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.005531, allocations: 15.94 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.005826, allocations: 295.7 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.423e-05/0.00589, allocations: 42.98 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.005913, allocations: 11.69 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.005936, allocations: 8.078 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.005955, allocations: 37.33 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.005956, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004942/0.00645, allocations: 169.3 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.006477, allocations: 55.41 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.006612, allocations: 242.4 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.006623, allocations: 29.7 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.006678, allocations: 154.9 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.006703, allocations: 27.75 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.006737, allocations: 27.38 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.006844, allocations: 0.4962 MB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.006868, allocations: 11.92 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.006884, allocations: 8 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.006932, allocations: 35.67 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.006933, allocations: 4 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.885e-05/0.007022, allocations: 81.53 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007034, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007038, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.007051, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.007122, allocations: 19.92 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007127, allocations: 320 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.007145, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.007151, allocations: 0 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.007215, allocations: 160.6 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.007237, allocations: 19.84 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.007369, allocations: 103 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.007372, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.007375, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.007378, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.007655, allocations: 384.9 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.007658, allocations: 3.984 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.007698, allocations: 12 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.0077, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.007712, allocations: 12.42 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007713, allocations: 4.031 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007714, allocations: 0 / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.007835, allocations: 243.4 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.007845, allocations: 7.953 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.007856, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.007893, allocations: 11.98 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.007923, allocations: 7.984 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.007927, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.291e-05/0.008, allocations: 167.2 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008, allocations: 0 / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.008164, allocations: 27.92 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008892/0.009053, allocations: 433.8 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.009155, allocations: 47.59 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.009157, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.009185, allocations: 23.67 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.009399, allocations: 27.94 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.009757, allocations: 233.8 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.009804, allocations: 71.39 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.009842, allocations: 20.66 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.009872, allocations: 16.48 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.009873, allocations: 4 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003226/0.0131, allocations: 1.407 MB / 387.5 MB, free: 9.086 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.264724916778505]