Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001812/0.001812, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002311/0.002311, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 8.234 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.2434/0.2434, allocations: 44.91 MB / 359.6 MB, free: 6.336 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.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [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.002194/0.002194, allocations: 63.89 kB / 0.4944 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3243, allocations: 65.46 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00467/0.329, allocations: 2.3 MB / 0.5606 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.3314, allocations: 1.346 MB / 0.5619 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3315, allocations: 7.938 kB / 0.5619 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.3319, allocations: 127.3 kB / 0.562 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.3325, allocations: 242.9 kB / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.3329, allocations: 199.5 kB / 0.5624 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.3335, allocations: 462.6 kB / 0.5629 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3336, allocations: 48.91 kB / 0.5629 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.3341, allocations: 315 kB / 0.5632 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3343, allocations: 167.1 kB / 0.5634 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.3343, allocations: 16 kB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3345, allocations: 75.97 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3346, allocations: 135.5 kB / 0.5636 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3348, allocations: 194.4 kB / 0.5638 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.3353, allocations: 436.5 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3353, allocations: 0 / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3353, allocations: 0 / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3353, allocations: 0 / 0.5642 GB, free: 1.676 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001169/0.3365, allocations: 0.7682 MB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3366, allocations: 15.98 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3367, allocations: 68.5 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.3372, allocations: 349.8 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.3373, allocations: 16.36 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.3373, allocations: 20.08 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.3377, allocations: 201.4 kB / 0.5656 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3377, allocations: 4 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3377, allocations: 4 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3377, allocations: 7.984 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.338, allocations: 95.86 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.339, allocations: 0.7695 MB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.3396, allocations: 234.5 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3398, allocations: 83.52 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3398, allocations: 8 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.3402, allocations: 208.2 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3402, allocations: 0 / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002572/0.3428, allocations: 1.137 MB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.3429, allocations: 140.5 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.3438, allocations: 0.8008 MB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.3439, allocations: 37.7 kB / 0.569 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.3441, allocations: 241 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.3442, allocations: 146.8 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3444, allocations: 78.08 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3446, allocations: 374.8 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.3448, allocations: 112.8 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.3451, allocations: 187.2 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.3457, allocations: 319 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3457, allocations: 0 / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007725/0.3464, allocations: 441.2 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3465, allocations: 4 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3465, allocations: 4 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3465, allocations: 4 kB / 0.5708 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3468, allocations: 95.95 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3468, allocations: 4 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3469, allocations: 19.94 kB / 0.571 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.347, allocations: 19.98 kB / 0.571 GB, free: 10.4 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003012/0.3473, allocations: 236.1 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.3474, allocations: 67.53 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3484, allocations: 0.4946 MB / 0.5717 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3484, allocations: 8 kB / 0.5718 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3484, allocations: 0 / 0.5718 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3484, allocations: 11.86 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.3503, allocations: 1.275 MB / 0.573 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3503, allocations: 7.938 kB / 0.573 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3505, allocations: 55.91 kB / 0.5731 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3505, allocations: 8 kB / 0.5731 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.3505, allocations: 19.98 kB / 0.5731 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.3505, allocations: 4.25 kB / 0.5731 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3505, allocations: 8 kB / 0.5731 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009677/0.3515, allocations: 0.7854 MB / 0.5739 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.3517, allocations: 99.45 kB / 0.574 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.3518, allocations: 19.98 kB / 0.574 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.352, allocations: 16 kB / 0.574 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3521, allocations: 47.81 kB / 0.5741 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/0.3522, allocations: 23.98 kB / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006892/0.3529, allocations: 0.5771 MB / 0.5746 GB, free: 6.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3529, allocations: 0 / 0.5746 GB, free: 6.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.3534, allocations: 91.92 kB / 0.5747 GB, free: 6.414 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002048/0.3555, allocations: 0.5479 MB / 0.5753 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.3561, allocations: 287.6 kB / 0.5755 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3561, allocations: 0 / 0.5755 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3565, allocations: 148.5 kB / 0.5757 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000939/0.3574, allocations: 123 kB / 0.5758 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3594, allocations: 1.11 MB / 0.5769 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.36, allocations: 0.8889 MB / 0.5777 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3601, allocations: 51.42 kB / 0.5778 GB, free: 3.391 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3601, allocations: 0 / 0.5778 GB, free: 3.391 MB / 414.1 MB Notification: Performance of Templates: time 0.01235/0.3725, allocations: 6.511 MB / 0.5842 GB, free: 12.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.593868747120723]