Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.00129/0.00129, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001411/0.001411, allocations: 214.1 kB / 24.48 MB, free: 3.844 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2173/0.2173, allocations: 44.94 MB / 359.6 MB, free: 6.113 MB / 286.1 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.89 kB / 0.4943 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3473, allocations: 65.48 MB / 0.5583 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003437/0.3508, allocations: 1.655 MB / 0.5599 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3526, allocations: 0.9481 MB / 0.5608 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.3527, allocations: 0 / 0.5608 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.353, allocations: 71.7 kB / 0.5609 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.3533, allocations: 99.53 kB / 0.561 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3535, allocations: 79.73 kB / 0.561 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3537, allocations: 111.6 kB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.3538, allocations: 4.234 kB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.3539, allocations: 47.78 kB / 0.5612 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.354, allocations: 47.81 kB / 0.5612 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.354, allocations: 7.938 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.3541, allocations: 28 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.486e-05/0.3542, allocations: 19.92 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.3542, allocations: 31.78 kB / 0.5613 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3544, allocations: 110.1 kB / 0.5614 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3544, allocations: 4 kB / 0.5614 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3544, allocations: 0 / 0.5614 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3544, allocations: 0 / 0.5614 GB, free: 4.141 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.0005707/0.355, allocations: 341.5 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.355, allocations: 12.03 kB / 0.5618 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.3551, allocations: 12.84 kB / 0.5618 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3554, allocations: 147 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3554, allocations: 4.375 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.3554, allocations: 4.125 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3555, allocations: 53.61 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3556, allocations: 4 kB / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3556, allocations: 0 / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3556, allocations: 0 / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.3556, allocations: 15.98 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.3558, allocations: 133.3 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.356, allocations: 50.61 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.356, allocations: 20.84 kB / 0.5622 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3561, allocations: 3.938 kB / 0.5622 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.3562, allocations: 75.33 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3562, allocations: 0 / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002971/0.3565, allocations: 97.61 kB / 0.5624 GB, free: 3.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3566, allocations: 51.41 kB / 0.5624 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3568, allocations: 198.3 kB / 0.5626 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3568, allocations: 29.7 kB / 0.5626 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.3569, allocations: 108.1 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.3569, allocations: 15.89 kB / 0.5627 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.357, allocations: 25.66 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3571, allocations: 322.8 kB / 0.5631 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.3572, allocations: 19.98 kB / 0.5631 GB, free: 2.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.3572, allocations: 33.64 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3574, allocations: 41.7 kB / 0.5632 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3574, allocations: 0 / 0.5632 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.3575, allocations: 93.47 kB / 0.5633 GB, free: 2.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3575, allocations: 8 kB / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3575, allocations: 0 / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3576, allocations: 0 / 0.5633 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.3576, allocations: 16.33 kB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3576, allocations: 0 / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.3577, allocations: 11.94 kB / 0.5633 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.3577, allocations: 4 kB / 0.5633 GB, free: 2.043 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 (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.0001169/0.3578, allocations: 128.6 kB / 0.5634 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.3578, allocations: 11.89 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3581, allocations: 94.77 kB / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3581, allocations: 0 / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3581, allocations: 0 / 0.5635 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3581, allocations: 3.984 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3582, allocations: 141.2 kB / 0.5637 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3582, allocations: 0 / 0.5637 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.668e-05/0.3583, allocations: 4 kB / 0.5637 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3583, allocations: 3.938 kB / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3583, allocations: 0 / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3583, allocations: 4.094 kB / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3583, allocations: 0 / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.3585, allocations: 113.1 kB / 0.5638 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.3585, allocations: 23.81 kB / 0.5638 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3586, allocations: 4 kB / 0.5638 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.3586, allocations: 8 kB / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.3586, allocations: 3.984 kB / 0.5638 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3586, allocations: 4 kB / 0.5638 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.3588, allocations: 152.2 kB / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3588, allocations: 0 / 0.564 GB, free: 1.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3591, allocations: 20 kB / 0.564 GB, free: 1.266 MB / 398.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 (6): * Single equations (assignments): 4 * 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.001755/0.3608, allocations: 449.6 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.361, allocations: 47.92 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.361, allocations: 0 / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.3611, allocations: 24.05 kB / 0.5645 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3614, allocations: 31.09 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.362, allocations: 243.6 kB / 0.5647 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.972e-05/0.3621, allocations: 89.25 kB / 0.5648 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3621, allocations: 19.44 kB / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3621, allocations: 0 / 0.5648 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of Templates: time 0.003933/0.3661, allocations: 1.744 MB / 0.5666 GB, free: 14.76 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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: 7.762800916098058]