Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009198/0.0009198, allocations: 199.1 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 226.6 MB / 243.1 MB, free: 12.58 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007818/0.0007818, allocations: 95.23 kB / 295.1 MB, free: 4.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002365, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.0871, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.001769/0.08892, allocations: 1.915 MB / 0.5172 GB, free: 3.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.09034, allocations: 1.272 MB / 0.5184 GB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.09046, allocations: 7.938 kB / 0.5185 GB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.09077, allocations: 115.6 kB / 0.5186 GB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.09112, allocations: 211.2 kB / 0.5188 GB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.0916, allocations: 279.2 kB / 0.519 GB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.09188, allocations: 394.7 kB / 0.5194 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.09201, allocations: 57.23 kB / 0.5195 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.09223, allocations: 251 kB / 0.5197 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.09235, allocations: 147.3 kB / 0.5198 GB, free: 484 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.09239, allocations: 8 kB / 0.5198 GB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.09251, allocations: 55.97 kB / 0.5199 GB, free: 420 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.0926, allocations: 131.5 kB / 0.52 GB, free: 288 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.09266, allocations: 105.3 kB / 0.5201 GB, free: 176 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.09298, allocations: 343.5 kB / 0.5205 GB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.093, allocations: 0 / 0.5205 GB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.093, allocations: 0 / 0.5205 GB, free: 15.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.09302, allocations: 0 / 0.5205 GB, free: 15.84 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009931/0.09402, allocations: 0.8167 MB / 0.5213 GB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.09406, allocations: 12.03 kB / 0.5213 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.09415, allocations: 67.06 kB / 0.5213 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.09461, allocations: 419.5 kB / 0.5217 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.09464, allocations: 8 kB / 0.5217 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.09468, allocations: 19.98 kB / 0.5218 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.09502, allocations: 197.4 kB / 0.5219 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.09504, allocations: 7.906 kB / 0.522 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.09507, allocations: 4 kB / 0.522 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.09508, allocations: 4 kB / 0.522 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.09529, allocations: 91.86 kB / 0.522 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.09609, allocations: 0.8289 MB / 0.5229 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.09665, allocations: 246.5 kB / 0.5231 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.09683, allocations: 91.47 kB / 0.5232 GB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.09686, allocations: 11.98 kB / 0.5232 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/0.0972, allocations: 196.4 kB / 0.5234 GB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.09721, allocations: 0 / 0.5234 GB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002205/0.09942, allocations: 1.172 MB / 0.5245 GB, free: 11.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.0995, allocations: 140.5 kB / 0.5247 GB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.1004, allocations: 0.9652 MB / 0.5256 GB, free: 10.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1004, allocations: 37.7 kB / 0.5256 GB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1006, allocations: 269 kB / 0.5259 GB, free: 9.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.1007, allocations: 142 kB / 0.526 GB, free: 9.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.1007, allocations: 12 kB / 0.526 GB, free: 9.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.1008, allocations: 318 kB / 0.5263 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.101, allocations: 112.8 kB / 0.5264 GB, free: 9.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.1013, allocations: 183.2 kB / 0.5266 GB, free: 9.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1015, allocations: 136.3 kB / 0.5268 GB, free: 9.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1016, allocations: 0 / 0.5268 GB, free: 9.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000648/0.1022, allocations: 440.3 kB / 0.5272 GB, free: 8.609 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1022, allocations: 4 kB / 0.5272 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1022, allocations: 4 kB / 0.5272 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1023, allocations: 4 kB / 0.5272 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.1025, allocations: 91.83 kB / 0.5273 GB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1025, allocations: 8.125 kB / 0.5273 GB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.1027, allocations: 23.98 kB / 0.5273 GB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1027, allocations: 15.95 kB / 0.5273 GB, free: 8.461 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002412/0.103, allocations: 251.9 kB / 0.5276 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.381e-05/0.1031, allocations: 79.06 kB / 0.5276 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1032, allocations: 89.67 kB / 0.5277 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1032, allocations: 11.98 kB / 0.5277 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1032, allocations: 0 / 0.5277 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1032, allocations: 7.984 kB / 0.5277 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1047, allocations: 1.342 MB / 0.529 GB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1047, allocations: 0 / 0.529 GB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1049, allocations: 59.92 kB / 0.5291 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.1049, allocations: 11.98 kB / 0.5291 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.1049, allocations: 12.25 kB / 0.5291 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1049, allocations: 8 kB / 0.5291 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1049, allocations: 7.938 kB / 0.5291 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.1057, allocations: 0.7811 MB / 0.5299 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1058, allocations: 192.1 kB / 0.5301 GB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.1059, allocations: 19.98 kB / 0.5301 GB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1062, allocations: 19.98 kB / 0.5301 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1063, allocations: 39.86 kB / 0.5302 GB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.1063, allocations: 23.98 kB / 0.5302 GB, free: 5.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006437/0.107, allocations: 0.7021 MB / 0.5309 GB, free: 4.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.107, allocations: 0 / 0.5309 GB, free: 4.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.1074, allocations: 87.98 kB / 0.531 GB, free: 4.566 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001023/0.1085, allocations: 0.5286 MB / 0.5315 GB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.109, allocations: 311.6 kB / 0.5318 GB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.109, allocations: 4 kB / 0.5318 GB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.1093, allocations: 164 kB / 0.5319 GB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.1101, allocations: 122.4 kB / 0.532 GB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1117, allocations: 1.365 MB / 0.5334 GB, free: 2.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.1122, allocations: 0.9136 MB / 0.5343 GB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1124, allocations: 55.42 kB / 0.5343 GB, free: 1.215 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1124, allocations: 0 / 0.5343 GB, free: 1.215 MB / 362.7 MB Notification: Performance of Templates: time 0.008222/0.1206, allocations: 6.727 MB / 0.5409 GB, free: 10.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches