Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.00248/0.00248, allocations: 95.59 kB / 20.97 MB, free: 3.434 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.002756/0.002756, allocations: 160.9 kB / 24.27 MB, free: 136 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 1.689/1.689, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3516/0.3516, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.999e-05/3.175e-05, allocations: 7.297 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003699/0.003731, allocations: 1.9 MB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.006507, allocations: 1.112 MB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.006657, allocations: 0 / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.007367, allocations: 223.2 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.008138, allocations: 223.1 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.008559, allocations: 119.6 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.009051, allocations: 267.2 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.009189, allocations: 13.97 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.009512, allocations: 147.6 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.009826, allocations: 151.7 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.009871, allocations: 15.94 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.01009, allocations: 63.91 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.01021, allocations: 63.77 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.01029, allocations: 43.78 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.01071, allocations: 239.1 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01072, allocations: 0 / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01072, allocations: 0 / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.01073, allocations: 0 / 381.9 MB, free: 14.23 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.0009505/0.01168, allocations: 0.6231 MB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.01171, allocations: 12.03 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/0.0118, allocations: 36.75 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.01217, allocations: 224.6 kB / 382.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.0122, allocations: 4.375 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.01223, allocations: 8.375 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.01253, allocations: 117.5 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01254, allocations: 192 / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01256, allocations: 8.359 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01257, allocations: 3.938 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.0127, allocations: 43.95 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009996/0.0137, allocations: 0.5374 MB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.01412, allocations: 138.2 kB / 383.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.01423, allocations: 55.34 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.01425, allocations: 4 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.01452, allocations: 128.4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.01452, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001494/0.01602, allocations: 0.5165 MB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.01609, allocations: 81.11 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.01662, allocations: 442.3 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.01665, allocations: 33.7 kB / 384.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.01686, allocations: 227.3 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.01695, allocations: 79.41 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.01704, allocations: 51.36 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003412/0.01738, allocations: 0.5391 MB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.01751, allocations: 55.97 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.01769, allocations: 106.7 kB / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.01801, allocations: 174.8 kB / 386.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01801, allocations: 4 kB / 386.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004766/0.01849, allocations: 241.2 kB / 386.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01851, allocations: 8 kB / 386.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01852, allocations: 0 / 386.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01853, allocations: 0 / 386.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.0187, allocations: 47.91 kB / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.01871, allocations: 0 / 386.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.01879, allocations: 11.94 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01882, allocations: 12 kB / 386.4 MB, free: 9.418 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.0001781/0.01899, allocations: 188.6 kB / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.01907, allocations: 39.77 kB / 386.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005804/0.01965, allocations: 261.3 kB / 386.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.01965, allocations: 3.938 kB / 386.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01965, allocations: 0 / 386.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.01966, allocations: 7.984 kB / 386.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.02085, allocations: 0.8153 MB / 387.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02085, allocations: 128 / 387.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.02097, allocations: 47.86 kB / 387.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.02097, allocations: 0 / 387.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.02099, allocations: 7.984 kB / 387.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.021, allocations: 7.938 kB / 387.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.021, allocations: 0 / 387.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.02169, allocations: 0.548 MB / 388.3 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.02174, allocations: 27.81 kB / 388.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.02178, allocations: 8 kB / 388.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.02193, allocations: 7.984 kB / 388.4 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.02199, allocations: 19.97 kB / 388.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.02202, allocations: 12 kB / 388.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003516/0.02237, allocations: 295 kB / 388.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02237, allocations: 0 / 388.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.02275, allocations: 63.81 kB / 388.7 MB, free: 6.965 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.003895/0.02664, allocations: 0.5381 MB / 389.3 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004645/0.02711, allocations: 179.2 kB / 389.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.02711, allocations: 4 kB / 389.4 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.0273, allocations: 95.66 kB / 389.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.0279, allocations: 65.8 kB / 389.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.02893, allocations: 0.5207 MB / 390.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.02937, allocations: 162.1 kB / 390.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000117/0.02948, allocations: 41.91 kB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.02957, allocations: 36.48 kB / 390.4 MB, free: 5.449 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02957, allocations: 4 kB / 390.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of Templates: time 0.008544/0.03811, allocations: 3.323 MB / 393.7 MB, free: 2.164 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.212179897003807]