Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 168.9 kB / 24.91 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2661/0.2661, allocations: 32.81 MB / 294.6 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.217e-05, allocations: 2.312 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00565/0.005673, allocations: 1.762 MB / 325.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.007032, allocations: 1.009 MB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003085/0.01012, allocations: 0 / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.0104, allocations: 51.7 kB / 326.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.0107, allocations: 103.5 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.0109, allocations: 83.59 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.01106, allocations: 107.7 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.01114, allocations: 9.375 kB / 326.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.01124, allocations: 59.77 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.0113, allocations: 23.91 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.01132, allocations: 4 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.01141, allocations: 47.92 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.01145, allocations: 27.86 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.01149, allocations: 35.84 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.01166, allocations: 103.7 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01167, allocations: 0 / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.01167, allocations: 0 / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.01167, allocations: 4 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003946/0.01207, allocations: 360.9 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.0121, allocations: 8.031 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.01213, allocations: 8.938 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.01229, allocations: 162.6 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.01231, allocations: 4.375 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.01232, allocations: 384 / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.01243, allocations: 69.77 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.01244, allocations: 3.938 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.01244, allocations: 0 / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.01245, allocations: 0 / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.01248, allocations: 15.92 kB / 327.4 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.01268, allocations: 165.9 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.01277, allocations: 89.34 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.01279, allocations: 16.84 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.0128, allocations: 0 / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003123/0.01593, allocations: 70.09 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.01593, allocations: 0 / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003422/0.01627, allocations: 113.5 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.0163, allocations: 59.41 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.01646, allocations: 224.1 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.01647, allocations: 25.7 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.01651, allocations: 96.11 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.01654, allocations: 35.77 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.01658, allocations: 25.7 kB / 328.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.272e-05/0.01666, allocations: 326.8 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.01668, allocations: 10.81 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.01671, allocations: 21.72 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.398e-05/0.01676, allocations: 52.5 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01676, allocations: 0 / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001013/0.01686, allocations: 72.44 kB / 328.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01688, allocations: 7.938 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01688, allocations: 4.031 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.01689, allocations: 4 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.01696, allocations: 15.94 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.01697, allocations: 3.984 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.017, allocations: 4 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.01701, allocations: 4 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.981e-05/0.01708, allocations: 119.1 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.0171, allocations: 15.92 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.01721, allocations: 79.06 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01721, allocations: 4 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01721, allocations: 384 / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01722, allocations: 4 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.01748, allocations: 295.4 kB / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01748, allocations: 0 / 329.3 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.01751, allocations: 11.98 kB / 329.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01751, allocations: 7.984 kB / 329.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.01752, allocations: 4 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01752, allocations: 0 / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01752, allocations: 0 / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.01764, allocations: 227 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.01765, allocations: 11.91 kB / 329.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01768, allocations: 8 kB / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.208e-05/0.01774, allocations: 0 / 329.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.01776, allocations: 7.984 kB / 329.6 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01778, allocations: 4 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.442e-05/0.01785, allocations: 88.94 kB / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01785, allocations: 0 / 329.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.01807, allocations: 27.94 kB / 329.7 MB, free: 3.004 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00453/0.0226, allocations: 0.5723 MB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.02272, allocations: 44.78 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.02272, allocations: 0 / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.02276, allocations: 24.97 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.023, allocations: 40.58 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.02339, allocations: 268.1 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.02344, allocations: 75.33 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.02349, allocations: 16.97 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.02356, allocations: 63.38 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02356, allocations: 4 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of Templates: time 0.01042/0.03398, allocations: 2.04 MB / 332.8 MB, free: 140 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.992207988165319]