Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001435/0.001435, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001621/0.001621, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2382/0.2382, allocations: 46.95 MB / 360.9 MB, free: 4.145 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.88 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003218/0.3587, allocations: 1.784 MB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3606, allocations: 1.046 MB / 0.5639 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.3606, allocations: 3.938 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.3612, allocations: 311.3 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005059/0.3617, allocations: 263.2 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3619, allocations: 107.7 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.3623, allocations: 263.2 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.3623, allocations: 5.812 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.3625, allocations: 131.6 kB / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3628, allocations: 219.4 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.3628, allocations: 8 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3629, allocations: 47.97 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3631, allocations: 147.5 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3632, allocations: 107.1 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.3637, allocations: 388.5 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3637, allocations: 3.984 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3637, allocations: 0 / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3637, allocations: 4 kB / 0.5658 GB, free: 15.36 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001061/0.3648, allocations: 0.6786 MB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3648, allocations: 8.031 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.3649, allocations: 52.61 kB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006466/0.3655, allocations: 398.5 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3656, allocations: 8.375 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3656, allocations: 4.125 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.3658, allocations: 91.3 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3658, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3658, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3658, allocations: 4 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.3659, allocations: 31.97 kB / 0.567 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3663, allocations: 310 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3666, allocations: 113.2 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.3667, allocations: 41.69 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3667, allocations: 4 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.367, allocations: 116.9 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.367, allocations: 0 / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005131/0.3675, allocations: 205.2 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3676, allocations: 85.11 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.3688, allocations: 1.062 MB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3688, allocations: 29.7 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.369, allocations: 240.1 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.3691, allocations: 31.73 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.3691, allocations: 25.72 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3693, allocations: 370.8 kB / 0.5696 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.3694, allocations: 35.98 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3695, allocations: 55.86 kB / 0.5697 GB, free: 11.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.3697, allocations: 103.3 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3697, allocations: 0 / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003689/0.3701, allocations: 181.2 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3701, allocations: 8 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3701, allocations: 0 / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3701, allocations: 0 / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.3703, allocations: 23.98 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3703, allocations: 7.922 kB / 0.57 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.621e-05/0.3704, allocations: 16 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3704, allocations: 7.984 kB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002292/0.3706, allocations: 217.8 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.3707, allocations: 63.5 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.3711, allocations: 209.8 kB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3711, allocations: 0 / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3711, allocations: 0 / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3711, allocations: 256 / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.3715, allocations: 269.2 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3715, allocations: 8 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.3715, allocations: 8 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3715, allocations: 7.938 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3715, allocations: 4 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3715, allocations: 0 / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3715, allocations: 11.92 kB / 0.5708 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.3719, allocations: 213.5 kB / 0.571 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.372, allocations: 71.53 kB / 0.571 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.3721, allocations: 4 kB / 0.571 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.3722, allocations: 15.92 kB / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3722, allocations: 11.98 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.3722, allocations: 11.94 kB / 0.5711 GB, free: 9.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008867/0.3731, allocations: 0.7917 MB / 0.5719 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3731, allocations: 0 / 0.5719 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3734, allocations: 40 kB / 0.5719 GB, free: 8.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001702/0.3751, allocations: 445 kB / 0.5723 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.3754, allocations: 83.89 kB / 0.5724 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3754, allocations: 4.125 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3755, allocations: 39.92 kB / 0.5724 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.3759, allocations: 82.36 kB / 0.5725 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.3773, allocations: 0.8972 MB / 0.5734 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3776, allocations: 245.7 kB / 0.5736 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.3777, allocations: 58.95 kB / 0.5737 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.3778, allocations: 31.36 kB / 0.5737 GB, free: 7.098 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3778, allocations: 4 kB / 0.5737 GB, free: 7.094 MB / 414.1 MB Notification: Performance of Templates: time 0.00976/0.3876, allocations: 4.367 MB / 0.578 GB, free: 2.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.32975372299552]