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.0009917/0.0009918, allocations: 193.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007635/0.0007635, allocations: 96.28 kB / 296.1 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3035/0.3035, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002456, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3793, allocations: 62.96 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4946, allocations: 90.48 MB / 0.6048 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4948, allocations: 79.95 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02015/0.515, allocations: 7.629 MB / 0.6124 GB, free: 7.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.515, allocations: 0 / 0.6124 GB, free: 7.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.926e-05/0.5151, allocations: 11.94 kB / 0.6124 GB, free: 7.168 MB / 426.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.001173/0.5163, allocations: 0.7504 MB / 0.6131 GB, free: 6.363 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5163, allocations: 8.031 kB / 0.6131 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.5165, allocations: 52.28 kB / 0.6132 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.5174, allocations: 0.5192 MB / 0.6137 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.5174, allocations: 384 / 0.6137 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.5174, allocations: 4.375 kB / 0.6137 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.5176, allocations: 91.86 kB / 0.6138 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5176, allocations: 4.188 kB / 0.6138 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.5177, allocations: 7.875 kB / 0.6138 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.5177, allocations: 0 / 0.6138 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5178, allocations: 35.97 kB / 0.6138 GB, free: 5.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.5183, allocations: 382.4 kB / 0.6142 GB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.5185, allocations: 117.1 kB / 0.6143 GB, free: 5.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.5186, allocations: 41.7 kB / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5187, allocations: 0 / 0.6143 GB, free: 4.988 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.5189, allocations: 116.9 kB / 0.6144 GB, free: 4.855 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.532e-06/0.5189, allocations: 0 / 0.6144 GB, free: 4.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005299/0.5195, allocations: 212.8 kB / 0.6146 GB, free: 4.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.5195, allocations: 81.11 kB / 0.6147 GB, free: 4.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.5209, allocations: 1.026 MB / 0.6157 GB, free: 3.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.521, allocations: 25.7 kB / 0.6157 GB, free: 3.477 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.5211, allocations: 240.1 kB / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.5212, allocations: 27.66 kB / 0.616 GB, free: 3.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.5212, allocations: 4 kB / 0.616 GB, free: 3.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5214, allocations: 366.8 kB / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.265e-05/0.5215, allocations: 35.97 kB / 0.6164 GB, free: 2.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.5216, allocations: 55.36 kB / 0.6164 GB, free: 2.738 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.5218, allocations: 95.84 kB / 0.6165 GB, free: 2.633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5218, allocations: 0 / 0.6165 GB, free: 2.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003182/0.5221, allocations: 176.9 kB / 0.6167 GB, free: 2.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.5221, allocations: 14.59 kB / 0.6167 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5221, allocations: 0 / 0.6167 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5222, allocations: 0 / 0.6167 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.5223, allocations: 23.98 kB / 0.6167 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5223, allocations: 8 kB / 0.6167 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5224, allocations: 15.91 kB / 0.6168 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.5224, allocations: 4 kB / 0.6168 GB, free: 2.391 MB / 426.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.0002192/0.5227, allocations: 221.8 kB / 0.617 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5228, allocations: 59.28 kB / 0.617 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.5232, allocations: 201.7 kB / 0.6172 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5232, allocations: 8 kB / 0.6172 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5232, allocations: 0 / 0.6172 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5232, allocations: 0 / 0.6172 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/0.5236, allocations: 393.3 kB / 0.6176 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5236, allocations: 7.938 kB / 0.6176 GB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.5237, allocations: 11.98 kB / 0.6176 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5237, allocations: 3.938 kB / 0.6176 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5237, allocations: 4 kB / 0.6176 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5237, allocations: 0 / 0.6176 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5237, allocations: 3.938 kB / 0.6176 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.5241, allocations: 221.3 kB / 0.6179 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.5244, allocations: 188.7 kB / 0.618 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.5244, allocations: 11.94 kB / 0.618 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5245, allocations: 15.98 kB / 0.6181 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5246, allocations: 11.92 kB / 0.6181 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.5246, allocations: 8 kB / 0.6181 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009493/0.5256, allocations: 0.7643 MB / 0.6188 GB, free: 184 kB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5256, allocations: 0 / 0.6188 GB, free: 184 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.5259, allocations: 87.94 kB / 0.6189 GB, free: 96 kB / 426.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.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 (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.0009736/0.5269, allocations: 415.3 kB / 0.6193 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.5272, allocations: 87.83 kB / 0.6194 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5272, allocations: 4 kB / 0.6194 GB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.5273, allocations: 52.41 kB / 0.6194 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5278, allocations: 71.16 kB / 0.6195 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5295, allocations: 1.07 MB / 0.6206 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.53, allocations: 0.8429 MB / 0.6214 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5301, allocations: 43.44 kB / 0.6214 GB, free: 13.59 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5301, allocations: 0 / 0.6214 GB, free: 13.59 MB / 442.7 MB Notification: Performance of Templates: time 0.01029/0.5404, allocations: 5.763 MB / 0.627 GB, free: 7.844 MB / 442.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/jenkins1/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