Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 108.5 kB / 21.23 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002362/0.002362, allocations: 185.1 kB / 24.51 MB, free: 4.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2506/0.2506, allocations: 44.91 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 75.81 kB / 497.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4559, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003927/0.4598, allocations: 1.751 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.4618, allocations: 0.9055 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.462, allocations: 1.312 kB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.4625, allocations: 85.64 kB / 0.5516 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.4629, allocations: 86.89 kB / 0.5517 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.4634, allocations: 112.1 kB / 0.5518 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.4637, allocations: 113.4 kB / 0.5519 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.4638, allocations: 16.34 kB / 0.5519 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.464, allocations: 55.69 kB / 0.5519 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.4642, allocations: 70.11 kB / 0.552 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.4642, allocations: 3.281 kB / 0.552 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.4644, allocations: 66.36 kB / 0.5521 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.4644, allocations: 20.42 kB / 0.5521 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.721e-05/0.4645, allocations: 44.5 kB / 0.5521 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.4649, allocations: 139.3 kB / 0.5523 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4649, allocations: 5.031 kB / 0.5523 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4649, allocations: 0 / 0.5523 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4649, allocations: 3.938 kB / 0.5523 GB, free: 10.6 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007733/0.4657, allocations: 356.2 kB / 0.5526 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.4657, allocations: 11.05 kB / 0.5526 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.4658, allocations: 18.8 kB / 0.5526 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.4662, allocations: 159 kB / 0.5528 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4662, allocations: 6.531 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.4663, allocations: 6.5 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4665, allocations: 64.53 kB / 0.5529 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4665, allocations: 0 / 0.5529 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4665, allocations: 0.9688 kB / 0.5529 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4665, allocations: 1 kB / 0.5529 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4666, allocations: 20.86 kB / 0.5529 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.4671, allocations: 276 kB / 0.5532 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.4674, allocations: 63.17 kB / 0.5532 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.4674, allocations: 21.22 kB / 0.5532 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4675, allocations: 1.281 kB / 0.5532 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.4676, allocations: 70.14 kB / 0.5533 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4676, allocations: 0 / 0.5533 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008813/0.4685, allocations: 255.9 kB / 0.5535 GB, free: 9.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.4686, allocations: 56.41 kB / 0.5536 GB, free: 9.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.4689, allocations: 223.5 kB / 0.5538 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.4689, allocations: 30.89 kB / 0.5538 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.469, allocations: 105.9 kB / 0.5539 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.469, allocations: 37.3 kB / 0.554 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.4691, allocations: 30.02 kB / 0.554 GB, free: 9.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.4693, allocations: 328.4 kB / 0.5543 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.4694, allocations: 26.11 kB / 0.5543 GB, free: 8.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4695, allocations: 43.89 kB / 0.5544 GB, free: 8.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.4697, allocations: 84.67 kB / 0.5545 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4697, allocations: 0 / 0.5545 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002669/0.47, allocations: 130.1 kB / 0.5546 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.47, allocations: 5.438 kB / 0.5546 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.47, allocations: 1.156 kB / 0.5546 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.47, allocations: 1.031 kB / 0.5546 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.4701, allocations: 25.55 kB / 0.5546 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4701, allocations: 5.094 kB / 0.5546 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.4702, allocations: 2.219 kB / 0.5546 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4702, allocations: 3.375 kB / 0.5546 GB, free: 8.516 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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.0001607/0.4703, allocations: 142.2 kB / 0.5548 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.4704, allocations: 10.58 kB / 0.5548 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.4707, allocations: 147.9 kB / 0.5549 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.4707, allocations: 5.266 kB / 0.5549 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4707, allocations: 9.281 kB / 0.5549 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4708, allocations: 0 / 0.5549 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.4715, allocations: 429.3 kB / 0.5553 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4715, allocations: 0 / 0.5553 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.4715, allocations: 16.02 kB / 0.5554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.4715, allocations: 2.094 kB / 0.5554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.4715, allocations: 2.188 kB / 0.5554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4715, allocations: 1.031 kB / 0.5554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4715, allocations: 1.062 kB / 0.5554 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.4719, allocations: 251.2 kB / 0.5556 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.4719, allocations: 15.27 kB / 0.5556 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.472, allocations: 2.344 kB / 0.5556 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.472, allocations: 6.406 kB / 0.5556 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.4721, allocations: 8.547 kB / 0.5556 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4721, allocations: 3.781 kB / 0.5556 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.4723, allocations: 175.1 kB / 0.5558 GB, free: 7.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4723, allocations: 4 kB / 0.5558 GB, free: 7.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.4726, allocations: 27.78 kB / 0.5558 GB, free: 7.516 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002/0.4746, allocations: 0.5054 MB / 0.5563 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.4749, allocations: 78.91 kB / 0.5564 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4749, allocations: 1.125 kB / 0.5564 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.475, allocations: 36.83 kB / 0.5564 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.4754, allocations: 37.06 kB / 0.5565 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.4761, allocations: 282.4 kB / 0.5567 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.4765, allocations: 0.7148 MB / 0.5574 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.405e-05/0.4765, allocations: 16.28 kB / 0.5575 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.4766, allocations: 24.52 kB / 0.5575 GB, free: 6.254 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4766, allocations: 0 / 0.5575 GB, free: 6.254 MB / 398.1 MB Notification: Performance of Templates: time 0.006243/0.4828, allocations: 2.031 MB / 0.5595 GB, free: 4.453 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.5035245371982455]