Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 190.7 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007869/0.000787, allocations: 97.8 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.333/0.333, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3274, allocations: 62.95 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.4366, allocations: 90.49 MB / 0.6048 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4369, allocations: 75.97 kB / 0.6049 GB, free: 14.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01931/0.4562, allocations: 7.585 MB / 0.6123 GB, free: 7.234 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4562, allocations: 0 / 0.6123 GB, free: 7.234 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.4563, allocations: 7.938 kB / 0.6123 GB, free: 7.227 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.0009316/0.4572, allocations: 0.7387 MB / 0.6131 GB, free: 6.434 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4572, allocations: 12.03 kB / 0.6131 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.4573, allocations: 48.38 kB / 0.6131 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.4581, allocations: 0.5075 MB / 0.6136 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4581, allocations: 384 / 0.6136 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4581, allocations: 4.375 kB / 0.6136 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.4583, allocations: 91.84 kB / 0.6137 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.4584, allocations: 192 / 0.6137 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.4584, allocations: 7.938 kB / 0.6137 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4584, allocations: 11.94 kB / 0.6137 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.4585, allocations: 31.97 kB / 0.6137 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.4589, allocations: 378.4 kB / 0.6141 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.4592, allocations: 113.2 kB / 0.6142 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4593, allocations: 41.7 kB / 0.6143 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4593, allocations: 0 / 0.6143 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.4595, allocations: 113 kB / 0.6144 GB, free: 4.945 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4596, allocations: 4 kB / 0.6144 GB, free: 4.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004775/0.46, allocations: 204.9 kB / 0.6146 GB, free: 4.734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4601, allocations: 81.09 kB / 0.6146 GB, free: 4.637 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.4614, allocations: 0.995 MB / 0.6156 GB, free: 3.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.4614, allocations: 29.7 kB / 0.6156 GB, free: 3.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.4616, allocations: 236.1 kB / 0.6159 GB, free: 3.363 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.4617, allocations: 27.64 kB / 0.6159 GB, free: 3.336 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.4617, allocations: 3.938 kB / 0.6159 GB, free: 3.332 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4619, allocations: 374.8 kB / 0.6163 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.462, allocations: 27.98 kB / 0.6163 GB, free: 2.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.4621, allocations: 59.41 kB / 0.6163 GB, free: 2.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.4623, allocations: 95.84 kB / 0.6164 GB, free: 2.754 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4623, allocations: 0 / 0.6164 GB, free: 2.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003092/0.4626, allocations: 172.9 kB / 0.6166 GB, free: 2.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4626, allocations: 15.92 kB / 0.6166 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4626, allocations: 0 / 0.6166 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4626, allocations: 0 / 0.6166 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4628, allocations: 24 kB / 0.6166 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4628, allocations: 3.984 kB / 0.6166 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4629, allocations: 15.97 kB / 0.6166 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4629, allocations: 4 kB / 0.6167 GB, free: 2.516 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.0002104/0.4631, allocations: 225.7 kB / 0.6169 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.4632, allocations: 51.38 kB / 0.6169 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.4636, allocations: 201.6 kB / 0.6171 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4636, allocations: 4 kB / 0.6171 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4636, allocations: 0 / 0.6171 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4636, allocations: 4 kB / 0.6171 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.464, allocations: 389.3 kB / 0.6175 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.464, allocations: 0 / 0.6175 GB, free: 1.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.464, allocations: 15.92 kB / 0.6175 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.464, allocations: 7.938 kB / 0.6175 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4641, allocations: 0 / 0.6175 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4641, allocations: 4 kB / 0.6175 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4641, allocations: 3.984 kB / 0.6175 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.4644, allocations: 224.3 kB / 0.6177 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.4647, allocations: 192.4 kB / 0.6179 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.4647, allocations: 11.94 kB / 0.6179 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.4648, allocations: 15.97 kB / 0.6179 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.4649, allocations: 4 kB / 0.6179 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4649, allocations: 7.984 kB / 0.618 GB, free: 1.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008973/0.4658, allocations: 0.7448 MB / 0.6187 GB, free: 340 kB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4658, allocations: 4 kB / 0.6187 GB, free: 336 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.4661, allocations: 83.94 kB / 0.6188 GB, free: 252 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.0008668/0.467, allocations: 410.4 kB / 0.6192 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.4673, allocations: 91.84 kB / 0.6192 GB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4673, allocations: 0 / 0.6192 GB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4674, allocations: 52.22 kB / 0.6193 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.4679, allocations: 73.19 kB / 0.6194 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4692, allocations: 1.039 MB / 0.6204 GB, free: 14.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.4696, allocations: 0.8508 MB / 0.6212 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4698, allocations: 35.44 kB / 0.6212 GB, free: 13.78 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4698, allocations: 4 kB / 0.6212 GB, free: 13.78 MB / 442.7 MB Notification: Performance of Templates: time 0.008095/0.4779, allocations: 5.627 MB / 0.6267 GB, free: 8.164 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches