Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001345/0.001345, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.001551/0.001551, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.433/1.433, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.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.2156/0.2156, allocations: 34.27 MB / 295.5 MB, free: 14.61 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.88 kB / 443.2 MB, free: 6.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 66.01 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003288/0.3696, allocations: 1.789 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3712, allocations: 1.038 MB / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.3713, allocations: 7.281 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004748/0.3718, allocations: 303.5 kB / 0.5003 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.3722, allocations: 259.6 kB / 0.5006 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.3724, allocations: 109.7 kB / 0.5007 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.3727, allocations: 264.1 kB / 0.5009 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.3727, allocations: 5 kB / 0.501 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3729, allocations: 131 kB / 0.5011 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3732, allocations: 208.6 kB / 0.5013 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3732, allocations: 8.906 kB / 0.5013 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3733, allocations: 50.98 kB / 0.5013 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.3735, allocations: 143.7 kB / 0.5015 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3736, allocations: 106.5 kB / 0.5016 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.374, allocations: 374.6 kB / 0.5019 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.374, allocations: 0 / 0.5019 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.374, allocations: 0 / 0.5019 GB, free: 27.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.374, allocations: 0 / 0.5019 GB, free: 27.32 MB / 446.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.0009125/0.3749, allocations: 0.6726 MB / 0.5026 GB, free: 26.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3749, allocations: 11.09 kB / 0.5026 GB, free: 26.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.375, allocations: 50.39 kB / 0.5026 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.3755, allocations: 393.6 kB / 0.503 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.3755, allocations: 3.25 kB / 0.503 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.3755, allocations: 14.2 kB / 0.503 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3757, allocations: 91.28 kB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3758, allocations: 0 / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3758, allocations: 4 kB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3758, allocations: 3.281 kB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3759, allocations: 35.08 kB / 0.5032 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.3762, allocations: 302.2 kB / 0.5035 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.3764, allocations: 107.9 kB / 0.5036 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.3765, allocations: 40.2 kB / 0.5036 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3765, allocations: 0 / 0.5036 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.3767, allocations: 117.1 kB / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.3767, allocations: 0 / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004609/0.3772, allocations: 211.2 kB / 0.5039 GB, free: 25.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3772, allocations: 83.92 kB / 0.504 GB, free: 25.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/0.3782, allocations: 1.032 MB / 0.505 GB, free: 25.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3782, allocations: 28.8 kB / 0.505 GB, free: 25.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.3783, allocations: 229.2 kB / 0.5052 GB, free: 25.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.3783, allocations: 33 kB / 0.5053 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.3784, allocations: 26.09 kB / 0.5053 GB, free: 25.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3785, allocations: 369.2 kB / 0.5056 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.3786, allocations: 29.83 kB / 0.5057 GB, free: 24.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.3787, allocations: 62.59 kB / 0.5057 GB, free: 24.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3788, allocations: 101.1 kB / 0.5058 GB, free: 24.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3788, allocations: 0 / 0.5058 GB, free: 24.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002657/0.3791, allocations: 186.8 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3791, allocations: 6 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3791, allocations: 0 / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3791, allocations: 3.031 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3792, allocations: 21.33 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3792, allocations: 3.984 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.3793, allocations: 21.09 kB / 0.5061 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3794, allocations: 2.844 kB / 0.5061 GB, free: 24.66 MB / 446.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.0001749/0.3795, allocations: 222.8 kB / 0.5063 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.3796, allocations: 55.64 kB / 0.5063 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3799, allocations: 202 kB / 0.5065 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3799, allocations: 0 / 0.5065 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.3799, allocations: 7 kB / 0.5065 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3799, allocations: 3.422 kB / 0.5065 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.3801, allocations: 262.5 kB / 0.5068 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3802, allocations: 4 kB / 0.5068 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3802, allocations: 16.58 kB / 0.5068 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3802, allocations: 7.875 kB / 0.5068 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3802, allocations: 3 kB / 0.5068 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3802, allocations: 256 / 0.5068 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3802, allocations: 4 kB / 0.5068 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3805, allocations: 222.1 kB / 0.507 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3806, allocations: 76.62 kB / 0.5071 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.3807, allocations: 0 / 0.5071 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.3807, allocations: 12.73 kB / 0.5071 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3808, allocations: 10.45 kB / 0.5071 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3808, allocations: 6.094 kB / 0.5071 GB, free: 24.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006428/0.3814, allocations: 0.7684 MB / 0.5079 GB, free: 23.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3814, allocations: 0 / 0.5079 GB, free: 23.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3817, allocations: 46.77 kB / 0.5079 GB, free: 23.75 MB / 446.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.001651/0.3834, allocations: 437.6 kB / 0.5083 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.3836, allocations: 88.14 kB / 0.5084 GB, free: 23.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3836, allocations: 4.125 kB / 0.5084 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.3837, allocations: 43.11 kB / 0.5085 GB, free: 23.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.3842, allocations: 67.27 kB / 0.5085 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3855, allocations: 0.8834 MB / 0.5094 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.3857, allocations: 234.1 kB / 0.5096 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.3858, allocations: 62.34 kB / 0.5097 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.3859, allocations: 27.88 kB / 0.5097 GB, free: 22.97 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3859, allocations: 0 / 0.5097 GB, free: 22.97 MB / 446.1 MB Notification: Performance of Templates: time 0.01013/0.396, allocations: 3.97 MB / 0.5136 GB, free: 22.45 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 4.93329793389421]