Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001862/0.001862, 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.001785/0.001785, allocations: 213.2 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.547/1.547, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2252/0.2252, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002084/0.002084, allocations: 71.91 kB / 0.4943 GB, free: 9.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 65.48 MB / 0.5583 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003619/0.3684, allocations: 1.729 MB / 0.56 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3704, allocations: 0.9754 MB / 0.5609 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.3704, allocations: 0 / 0.5609 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.3708, allocations: 107.7 kB / 0.561 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003742/0.3712, allocations: 135.5 kB / 0.5611 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3714, allocations: 83.66 kB / 0.5612 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3716, allocations: 127.7 kB / 0.5613 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3718, allocations: 15.97 kB / 0.5614 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.3718, allocations: 51.78 kB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.3721, allocations: 79.72 kB / 0.5615 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.3721, allocations: 8 kB / 0.5615 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3722, allocations: 67.91 kB / 0.5616 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.3723, allocations: 23.92 kB / 0.5616 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.3724, allocations: 39.73 kB / 0.5616 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.3726, allocations: 161.7 kB / 0.5618 GB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3726, allocations: 0 / 0.5618 GB, free: 3.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3726, allocations: 0 / 0.5618 GB, free: 3.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3726, allocations: 0 / 0.5618 GB, free: 3.859 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005958/0.3732, allocations: 393.2 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3733, allocations: 8.031 kB / 0.5622 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.3733, allocations: 20.84 kB / 0.5622 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3736, allocations: 163.2 kB / 0.5623 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.3737, allocations: 12.38 kB / 0.5623 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.3737, allocations: 12.06 kB / 0.5624 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3739, allocations: 73.59 kB / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3739, allocations: 0 / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3739, allocations: 0 / 0.5624 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3739, allocations: 4 kB / 0.5624 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.374, allocations: 39.91 kB / 0.5625 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.3744, allocations: 260.4 kB / 0.5627 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.3747, allocations: 78.55 kB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.3748, allocations: 28.84 kB / 0.5628 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3748, allocations: 8 kB / 0.5628 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.375, allocations: 71.38 kB / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.375, allocations: 0 / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008965/0.3759, allocations: 293.1 kB / 0.5632 GB, free: 2.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.376, allocations: 51.41 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.3763, allocations: 271.7 kB / 0.5635 GB, free: 1.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3763, allocations: 29.7 kB / 0.5635 GB, free: 1.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3764, allocations: 112.1 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3765, allocations: 43.83 kB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.3766, allocations: 37.7 kB / 0.5637 GB, free: 1.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.3768, allocations: 326.8 kB / 0.564 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.3769, allocations: 35.98 kB / 0.564 GB, free: 1.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.726e-05/0.377, allocations: 53.62 kB / 0.5641 GB, free: 1.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.3771, allocations: 89.7 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3771, allocations: 0 / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002858/0.3774, allocations: 145.5 kB / 0.5643 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3774, allocations: 4 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3774, allocations: 8.016 kB / 0.5643 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3775, allocations: 4 kB / 0.5643 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.3775, allocations: 16 kB / 0.5643 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3776, allocations: 11.88 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.3776, allocations: 15.88 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3776, allocations: 4 kB / 0.5644 GB, free: 0.9961 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 (14): * Single equations (assignments): 14 * 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.0001401/0.3778, allocations: 133.8 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.3778, allocations: 19.91 kB / 0.5645 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.3782, allocations: 187.5 kB / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3782, allocations: 4 kB / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3782, allocations: 0 / 0.5647 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3782, allocations: 3.938 kB / 0.5647 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.3788, allocations: 431.8 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3788, allocations: 0 / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.3789, allocations: 20 kB / 0.5651 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3789, allocations: 7.922 kB / 0.5651 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.3789, allocations: 7.984 kB / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3789, allocations: 3.938 kB / 0.5652 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3789, allocations: 8.062 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3793, allocations: 261.2 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.3793, allocations: 15.91 kB / 0.5654 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3794, allocations: 11.88 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.3795, allocations: 7.984 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3795, allocations: 11.98 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.3795, allocations: 4 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.3798, allocations: 201.5 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3798, allocations: 3.938 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.38, allocations: 35.94 kB / 0.5657 GB, free: 15.56 MB / 414.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 (14): * Single equations (assignments): 12 * 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.002141/0.3822, allocations: 0.5416 MB / 0.5662 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.3825, allocations: 91.91 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3825, allocations: 0 / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3826, allocations: 51.91 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.383, allocations: 28.2 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.3837, allocations: 362.3 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3838, allocations: 114.6 kB / 0.5668 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.3838, allocations: 19.44 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3838, allocations: 3.938 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Templates: time 0.00536/0.3892, allocations: 2.483 MB / 0.5693 GB, free: 12.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.130794443190098]