Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001594/0.001594, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001879/0.001879, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2323/0.2323, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] 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.Test87,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 67.89 kB / 0.4967 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3498, allocations: 66.03 MB / 0.5612 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00372/0.3535, allocations: 2.17 MB / 0.5633 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.3558, allocations: 1.264 MB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3559, allocations: 7.875 kB / 0.5645 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.3563, allocations: 139.3 kB / 0.5647 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005756/0.3569, allocations: 270.8 kB / 0.5649 GB, free: 292 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3573, allocations: 187.6 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.3578, allocations: 474.5 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.358, allocations: 48.91 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.3584, allocations: 331 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.3586, allocations: 167.1 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.3586, allocations: 24 kB / 0.5661 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.3588, allocations: 67.98 kB / 0.5662 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.359, allocations: 163.4 kB / 0.5663 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3591, allocations: 154.6 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.3597, allocations: 488.2 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3597, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3597, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3597, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.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.001175/0.3609, allocations: 0.8457 MB / 0.5677 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3609, allocations: 12.03 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.361, allocations: 72.47 kB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.3616, allocations: 371 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3616, allocations: 4.375 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.3616, allocations: 28.08 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.362, allocations: 193.5 kB / 0.5684 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3621, allocations: 4 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.3621, allocations: 7.984 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3621, allocations: 0 / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.3623, allocations: 107.9 kB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.3633, allocations: 0.7466 MB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.364, allocations: 238.5 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.3641, allocations: 87.52 kB / 0.5696 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3642, allocations: 8 kB / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.3645, allocations: 208.2 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.3646, allocations: 4 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002708/0.3673, allocations: 1.23 MB / 0.571 GB, free: 9.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3674, allocations: 140.5 kB / 0.5711 GB, free: 9.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.3687, allocations: 0.977 MB / 0.5721 GB, free: 8.723 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.3687, allocations: 37.7 kB / 0.5721 GB, free: 8.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.369, allocations: 281 kB / 0.5724 GB, free: 8.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.3691, allocations: 142.8 kB / 0.5725 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3693, allocations: 82.08 kB / 0.5726 GB, free: 8.172 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3695, allocations: 321.9 kB / 0.5729 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.3697, allocations: 120.8 kB / 0.573 GB, free: 7.734 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.3701, allocations: 195.1 kB / 0.5732 GB, free: 7.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.3706, allocations: 330.9 kB / 0.5735 GB, free: 7.176 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3706, allocations: 0 / 0.5735 GB, free: 7.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008177/0.3715, allocations: 456.9 kB / 0.5739 GB, free: 6.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3715, allocations: 8 kB / 0.5739 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3715, allocations: 0 / 0.5739 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3715, allocations: 4 kB / 0.5739 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.3718, allocations: 91.83 kB / 0.574 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.3718, allocations: 4.234 kB / 0.574 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.372, allocations: 15.98 kB / 0.574 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.372, allocations: 23.94 kB / 0.5741 GB, free: 6.578 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.0003169/0.3723, allocations: 260.2 kB / 0.5743 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3724, allocations: 83.48 kB / 0.5744 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.3735, allocations: 0.5384 MB / 0.5749 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3735, allocations: 8 kB / 0.5749 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3735, allocations: 3.984 kB / 0.5749 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3735, allocations: 0 / 0.5749 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.3754, allocations: 1.275 MB / 0.5762 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.3754, allocations: 4.375 kB / 0.5762 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3756, allocations: 67.91 kB / 0.5762 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.3756, allocations: 7.938 kB / 0.5763 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.3756, allocations: 12 kB / 0.5763 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.3756, allocations: 15.92 kB / 0.5763 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3756, allocations: 3.938 kB / 0.5763 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.3767, allocations: 0.836 MB / 0.5771 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.377, allocations: 119.3 kB / 0.5772 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.377, allocations: 16 kB / 0.5772 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.3773, allocations: 15.98 kB / 0.5772 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.3774, allocations: 43.88 kB / 0.5773 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.3775, allocations: 27.98 kB / 0.5773 GB, free: 3.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008411/0.3783, allocations: 0.7099 MB / 0.578 GB, free: 2.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3783, allocations: 0 / 0.578 GB, free: 2.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005916/0.3789, allocations: 91.94 kB / 0.5781 GB, free: 2.32 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 (48): * Single equations (assignments): 40 * 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.002305/0.3812, allocations: 0.5785 MB / 0.5787 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.3819, allocations: 315.3 kB / 0.579 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3819, allocations: 0 / 0.579 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.3822, allocations: 164.4 kB / 0.5791 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009804/0.3832, allocations: 136.7 kB / 0.5792 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.3853, allocations: 1.23 MB / 0.5805 GB, free: 100 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.3857, allocations: 318 kB / 0.5808 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.3859, allocations: 79.23 kB / 0.5808 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.386, allocations: 55.42 kB / 0.5809 GB, free: 15.63 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.386, allocations: 0 / 0.5809 GB, free: 15.63 MB / 430.1 MB Notification: Performance of Templates: time 0.01332/0.3993, allocations: 6.29 MB / 0.587 GB, free: 9.441 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.3578734546899796]