Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001993/0.001993, 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.002014/0.002014, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.587/1.587, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2271/0.2271, allocations: 44.95 MB / 359.6 MB, free: 6.059 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [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.002374/0.002374, allocations: 71.88 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3651, allocations: 65.48 MB / 0.5583 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003399/0.3685, allocations: 1.659 MB / 0.5599 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3703, allocations: 0.9559 MB / 0.5608 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.185e-05/0.3704, allocations: 4 kB / 0.5608 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.3707, allocations: 47.73 kB / 0.5609 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.3711, allocations: 103.5 kB / 0.561 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.3713, allocations: 75.73 kB / 0.561 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3714, allocations: 103.6 kB / 0.5611 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.3715, allocations: 240 / 0.5611 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.3716, allocations: 43.78 kB / 0.5612 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.093e-05/0.3717, allocations: 31.84 kB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.3717, allocations: 7.938 kB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.3718, allocations: 28 kB / 0.5612 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.3719, allocations: 35.89 kB / 0.5613 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.3719, allocations: 31.69 kB / 0.5613 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3721, allocations: 129.8 kB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3721, allocations: 0 / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3722, allocations: 0 / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3722, allocations: 0 / 0.5614 GB, free: 4.199 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.0006091/0.3728, allocations: 365.4 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3728, allocations: 8.031 kB / 0.5618 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3729, allocations: 12.89 kB / 0.5618 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3732, allocations: 163.2 kB / 0.5619 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3732, allocations: 4.375 kB / 0.5619 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3732, allocations: 4.125 kB / 0.562 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3734, allocations: 57.61 kB / 0.562 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3734, allocations: 0 / 0.562 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3734, allocations: 0 / 0.562 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3734, allocations: 0 / 0.562 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.3735, allocations: 15.98 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.3737, allocations: 141.3 kB / 0.5622 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.3738, allocations: 46.62 kB / 0.5622 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.3739, allocations: 24.78 kB / 0.5622 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3739, allocations: 3.938 kB / 0.5622 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3741, allocations: 79.33 kB / 0.5623 GB, free: 3.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.3741, allocations: 0 / 0.5623 GB, free: 3.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003383/0.3744, allocations: 101.6 kB / 0.5624 GB, free: 3.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.3745, allocations: 55.41 kB / 0.5625 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3748, allocations: 275.7 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.3748, allocations: 33.7 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.3749, allocations: 112.1 kB / 0.5629 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.5e-05/0.3749, allocations: 15.89 kB / 0.5629 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.3749, allocations: 17.72 kB / 0.5629 GB, free: 2.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3751, allocations: 334.8 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.265e-05/0.3752, allocations: 19.92 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.3752, allocations: 33.69 kB / 0.5633 GB, free: 2.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3753, allocations: 41.7 kB / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3753, allocations: 0 / 0.5633 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.3755, allocations: 93.47 kB / 0.5634 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3755, allocations: 4 kB / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3755, allocations: 0 / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3755, allocations: 3.984 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.3756, allocations: 24.02 kB / 0.5634 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3756, allocations: 0 / 0.5634 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.3757, allocations: 7.891 kB / 0.5634 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3757, allocations: 4 kB / 0.5634 GB, free: 1.949 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.0001294/0.3758, allocations: 140.7 kB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3758, allocations: 15.84 kB / 0.5636 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.3761, allocations: 98.75 kB / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3761, allocations: 0 / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3761, allocations: 0 / 0.5637 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3761, allocations: 4.375 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3762, allocations: 145.3 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3762, allocations: 4 kB / 0.5638 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.3762, allocations: 4 kB / 0.5638 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3763, allocations: 3.938 kB / 0.5638 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3763, allocations: 7.938 kB / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3763, allocations: 0 / 0.5638 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3763, allocations: 3.984 kB / 0.5638 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3765, allocations: 121 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.3765, allocations: 15.84 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3765, allocations: 4 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.903e-05/0.3766, allocations: 8 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3766, allocations: 3.984 kB / 0.564 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3766, allocations: 4 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3768, allocations: 208.6 kB / 0.5642 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3768, allocations: 0 / 0.5642 GB, free: 1.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.377, allocations: 16 kB / 0.5642 GB, free: 1.09 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.001674/0.3787, allocations: 440.4 kB / 0.5646 GB, free: 0.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3789, allocations: 39.92 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3789, allocations: 4.062 kB / 0.5647 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.3789, allocations: 23.97 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3792, allocations: 35.41 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.3798, allocations: 312.1 kB / 0.565 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.3799, allocations: 105.7 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.3799, allocations: 11.44 kB / 0.5651 GB, free: 272 kB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3799, allocations: 0 / 0.5651 GB, free: 272 kB / 398.1 MB Notification: Performance of Templates: time 0.00416/0.3841, allocations: 1.932 MB / 0.567 GB, free: 14.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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: 8.191335197072476]