Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.000957/0.000957, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009512/0.0009512, allocations: 167.1 kB / 24.82 MB, free: 9.32 MB / 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.959/0.959, allocations: 177 MB / 205.1 MB, free: 5.488 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.2601/0.2601, allocations: 34.87 MB / 296.6 MB, free: 440 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.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.809e-05, allocations: 2.312 kB / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002148/0.002166, allocations: 1.935 MB / 381.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.003942, allocations: 1.094 MB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.701e-05/0.004039, allocations: 4 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.004507, allocations: 223.2 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.004963, allocations: 227 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.005197, allocations: 107.6 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.005492, allocations: 267.2 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005598, allocations: 21.95 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.005793, allocations: 151.5 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.005984, allocations: 159.7 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.006009, allocations: 8 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.006125, allocations: 59.92 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.006207, allocations: 67.69 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.006266, allocations: 43.8 kB / 383.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.006525, allocations: 191.2 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006527, allocations: 4 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.006529, allocations: 0 / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.006534, allocations: 7.922 kB / 383.9 MB, free: 13.15 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006052/0.007139, allocations: 0.604 MB / 384.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.007175, allocations: 12.03 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.00724, allocations: 40.75 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.007475, allocations: 216.6 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.007493, allocations: 8.312 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.007517, allocations: 12.36 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.007691, allocations: 116.6 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.007704, allocations: 4.141 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.007715, allocations: 4.359 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007722, allocations: 3.938 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.007777, allocations: 27.91 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.008208, allocations: 471.2 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.008439, allocations: 118.1 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.008486, allocations: 35.34 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.008501, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.008649, allocations: 120.4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.00865, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000849/0.009499, allocations: 382 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.009536, allocations: 77.11 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.009841, allocations: 390.2 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.009862, allocations: 29.7 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.009988, allocations: 227.2 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.01005, allocations: 67.42 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.01012, allocations: 55.28 kB / 386.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.0103, allocations: 0.5351 MB / 387.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.01035, allocations: 23.98 kB / 387.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-05/0.01044, allocations: 76.88 kB / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.01057, allocations: 110.8 kB / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01057, allocations: 0 / 387.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002545/0.01083, allocations: 185.3 kB / 387.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01084, allocations: 8 kB / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.01085, allocations: 0 / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01086, allocations: 4 kB / 387.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.01099, allocations: 43.98 kB / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01099, allocations: 4 kB / 387.8 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.01106, allocations: 11.98 kB / 387.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.01108, allocations: 11.94 kB / 387.8 MB, free: 8.902 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001092/0.01119, allocations: 172.5 kB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.01124, allocations: 35.81 kB / 388 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.01157, allocations: 220.3 kB / 388.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01157, allocations: 0 / 388.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01157, allocations: 4 kB / 388.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01158, allocations: 7.984 kB / 388.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.01226, allocations: 0.6908 MB / 389 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.01226, allocations: 0 / 389 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.01235, allocations: 31.98 kB / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01235, allocations: 0 / 389 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01237, allocations: 15.94 kB / 389 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.01237, allocations: 3.938 kB / 389 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01238, allocations: 4 kB / 389 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.01276, allocations: 0.4948 MB / 389.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.0128, allocations: 31.81 kB / 389.5 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.01284, allocations: 11.94 kB / 389.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.01301, allocations: 11.98 kB / 389.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.01306, allocations: 23.91 kB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.01308, allocations: 8 kB / 389.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.01326, allocations: 254.9 kB / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01326, allocations: 0 / 389.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.01364, allocations: 55.92 kB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001035/0.01468, allocations: 493 kB / 390.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01482, allocations: 115.4 kB / 390.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.01482, allocations: 0 / 390.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.01489, allocations: 76.86 kB / 390.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.01522, allocations: 69.39 kB / 390.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.01572, allocations: 0.4895 MB / 391.1 MB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.01578, allocations: 104.3 kB / 391.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.01585, allocations: 38.17 kB / 391.3 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.01596, allocations: 122.2 kB / 391.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01596, allocations: 0 / 391.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of Templates: time 0.005108/0.02106, allocations: 3.68 MB / 395.1 MB, free: 1.711 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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: 2.9188072020187974]