Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.6 MB / 243.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008891/0.0008891, allocations: 92.16 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4062/0.4062, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 12 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 62.96 MB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.001611/0.371, allocations: 1.515 MB / 0.5174 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.3722, allocations: 1.038 MB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.3723, allocations: 0 / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.3727, allocations: 306.4 kB / 0.5187 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3731, allocations: 231.5 kB / 0.5189 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3734, allocations: 149.8 kB / 0.519 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3736, allocations: 220.5 kB / 0.5192 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.707e-05/0.3737, allocations: 14.5 kB / 0.5193 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3738, allocations: 119.9 kB / 0.5194 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.3739, allocations: 162.6 kB / 0.5195 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.374, allocations: 2.938 kB / 0.5195 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.3741, allocations: 41.64 kB / 0.5196 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3742, allocations: 140.8 kB / 0.5197 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3743, allocations: 164.6 kB / 0.5199 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3745, allocations: 282.6 kB / 0.5201 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3745, allocations: 0 / 0.5201 GB, free: 34.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3745, allocations: 0 / 0.5201 GB, free: 34.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.3745, allocations: 0 / 0.5201 GB, free: 34.85 MB / 378.7 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.0006668/0.3752, allocations: 0.6761 MB / 0.5208 GB, free: 34.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3752, allocations: 8.312 kB / 0.5208 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.3753, allocations: 52.25 kB / 0.5208 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.3758, allocations: 455.2 kB / 0.5213 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3758, allocations: 3.375 kB / 0.5213 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3758, allocations: 11 kB / 0.5213 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.376, allocations: 85.17 kB / 0.5214 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.376, allocations: 0 / 0.5214 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.376, allocations: 7.422 kB / 0.5214 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.376, allocations: 2.969 kB / 0.5214 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.3761, allocations: 26.33 kB / 0.5214 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.3764, allocations: 384.2 kB / 0.5218 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3766, allocations: 103 kB / 0.5219 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.3767, allocations: 46 kB / 0.5219 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3767, allocations: 0 / 0.5219 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.3769, allocations: 111.4 kB / 0.522 GB, free: 33.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.377, allocations: 2.844 kB / 0.522 GB, free: 33.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003834/0.3773, allocations: 203.1 kB / 0.5222 GB, free: 33.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3774, allocations: 80.14 kB / 0.5223 GB, free: 33.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008283/0.3782, allocations: 1.053 MB / 0.5233 GB, free: 32.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3782, allocations: 28.3 kB / 0.5234 GB, free: 32.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3784, allocations: 238.8 kB / 0.5236 GB, free: 32.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.3784, allocations: 26.09 kB / 0.5236 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.3784, allocations: 6.469 kB / 0.5236 GB, free: 32.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.3785, allocations: 365.9 kB / 0.524 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-05/0.3786, allocations: 30.2 kB / 0.524 GB, free: 32.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.3786, allocations: 56.59 kB / 0.524 GB, free: 32.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3788, allocations: 90.55 kB / 0.5241 GB, free: 32.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3788, allocations: 0 / 0.5241 GB, free: 32.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.379, allocations: 179.9 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3791, allocations: 5.531 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3791, allocations: 2.812 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3791, allocations: 0 / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3792, allocations: 21.88 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3792, allocations: 3.328 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.8e-05/0.3793, allocations: 10.91 kB / 0.5243 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3793, allocations: 5.281 kB / 0.5243 GB, free: 32.05 MB / 378.7 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.3795, allocations: 235 kB / 0.5246 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.3796, allocations: 51.75 kB / 0.5246 GB, free: 31.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.3796, allocations: 59.41 kB / 0.5247 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3796, allocations: 2.562 kB / 0.5247 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3797, allocations: 0 / 0.5247 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3797, allocations: 0 / 0.5247 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3799, allocations: 357.6 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3799, allocations: 0 / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.3799, allocations: 5.406 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3799, allocations: 6.594 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.38, allocations: 6.469 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.38, allocations: 4 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.38, allocations: 0 / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.3802, allocations: 201.5 kB / 0.5252 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.3803, allocations: 147.6 kB / 0.5254 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.3804, allocations: 2.531 kB / 0.5254 GB, free: 31.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.3805, allocations: 14.53 kB / 0.5254 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3805, allocations: 12.91 kB / 0.5254 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3806, allocations: 6.406 kB / 0.5254 GB, free: 31.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006012/0.3812, allocations: 0.7832 MB / 0.5262 GB, free: 31.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3812, allocations: 0 / 0.5262 GB, free: 31.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000237/0.3814, allocations: 49.92 kB / 0.5262 GB, free: 31.03 MB / 378.7 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007737/0.3822, allocations: 412.7 kB / 0.5266 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3824, allocations: 82.89 kB / 0.5267 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3824, allocations: 0 / 0.5267 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.3825, allocations: 48.91 kB / 0.5267 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3829, allocations: 67.5 kB / 0.5268 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.3839, allocations: 0.9744 MB / 0.5278 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.3842, allocations: 0.8464 MB / 0.5286 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.167e-05/0.3842, allocations: 32.11 kB / 0.5286 GB, free: 29.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3842, allocations: 0 / 0.5286 GB, free: 29.54 MB / 378.7 MB Notification: Performance of Templates: time 0.006288/0.3905, allocations: 5.082 MB / 0.5336 GB, free: 28.82 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches