Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.001336/0.001336, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.00144/0.00144, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 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.591/1.591, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2611/0.2611, allocations: 46.94 MB / 360.8 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 71.89 kB / 0.4967 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4603, allocations: 66.02 MB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003441/0.4637, allocations: 1.706 MB / 0.5628 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.4655, allocations: 1.026 MB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.4656, allocations: 0 / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.4659, allocations: 51.75 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.4663, allocations: 103.5 kB / 0.564 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.4665, allocations: 75.73 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.4667, allocations: 103.6 kB / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.4667, allocations: 240 / 0.5642 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.4668, allocations: 55.77 kB / 0.5642 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.4669, allocations: 27.8 kB / 0.5642 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.4669, allocations: 4 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.467, allocations: 35.98 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.4671, allocations: 31.84 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.4672, allocations: 35.69 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.4674, allocations: 125.8 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4674, allocations: 0 / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4674, allocations: 0 / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4674, allocations: 4 kB / 0.5645 GB, free: 1.012 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006724/0.4681, allocations: 373.3 kB / 0.5648 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4681, allocations: 8.031 kB / 0.5648 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.4682, allocations: 8.891 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.4685, allocations: 171.1 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4685, allocations: 384 / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.4686, allocations: 8.125 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4687, allocations: 45.67 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4687, allocations: 0 / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4687, allocations: 4 kB / 0.5651 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.4687, allocations: 8 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.4688, allocations: 15.98 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.4691, allocations: 160.8 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.4692, allocations: 50.56 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.4693, allocations: 24.78 kB / 0.5653 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.4693, allocations: 4 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.4695, allocations: 63.39 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.4695, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003177/0.4698, allocations: 101.5 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4699, allocations: 55.41 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.4702, allocations: 270.8 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.4702, allocations: 29.69 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.4703, allocations: 116.1 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.4703, allocations: 11.91 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.4704, allocations: 21.72 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4705, allocations: 322.8 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.4706, allocations: 19.92 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.4707, allocations: 29.7 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4708, allocations: 49.66 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4708, allocations: 0 / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001883/0.471, allocations: 89.52 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.471, allocations: 4 kB / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.471, allocations: 0 / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.471, allocations: 0 / 0.5664 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.411e-05/0.4711, allocations: 15.88 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4711, allocations: 4 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.4711, allocations: 15.91 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4711, allocations: 4 kB / 0.5665 GB, free: 14.75 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001641/0.4713, allocations: 141.7 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.4713, allocations: 11.91 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.4716, allocations: 91.14 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4716, allocations: 4 kB / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4716, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4716, allocations: 0 / 0.5667 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.4718, allocations: 176.6 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4718, allocations: 11.92 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.4718, allocations: 4 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4718, allocations: 3.984 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4718, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4718, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4718, allocations: 0 / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.4721, allocations: 117 kB / 0.567 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.4721, allocations: 11.91 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4721, allocations: 4 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.4722, allocations: 4 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.4722, allocations: 7.984 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4722, allocations: 4 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.4724, allocations: 200.6 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4724, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.4727, allocations: 23.94 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001644/0.4743, allocations: 410.7 kB / 0.5677 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.4745, allocations: 39.98 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4745, allocations: 0 / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.4746, allocations: 23.92 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4749, allocations: 31.95 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.4756, allocations: 262.5 kB / 0.568 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.476, allocations: 0.7236 MB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.476, allocations: 16.47 kB / 0.5687 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.4761, allocations: 11.44 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4761, allocations: 0 / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Templates: time 0.00543/0.4815, allocations: 1.577 MB / 0.5703 GB, free: 10.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.498729571932927]