Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009112/0.0009112, allocations: 198.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007713/0.0007713, allocations: 96.59 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1894/0.1894, allocations: 44.85 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 11.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09497, allocations: 62.95 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.001919/0.09693, allocations: 1.435 MB / 0.5167 GB, free: 1.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.0983, allocations: 0.9402 MB / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.09841, allocations: 0 / 0.5177 GB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.09867, allocations: 35.84 kB / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.09893, allocations: 67.75 kB / 0.5178 GB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.09924, allocations: 102.4 kB / 0.5178 GB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.0994, allocations: 91.69 kB / 0.5179 GB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.09949, allocations: 7.984 kB / 0.5179 GB, free: 64 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.4e-05/0.09958, allocations: 39.78 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1744/0.274, allocations: 31.97 kB / 0.518 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2741, allocations: 1.281 kB / 0.518 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2742, allocations: 32.2 kB / 0.518 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.2743, allocations: 19.89 kB / 0.5181 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.2743, allocations: 41.66 kB / 0.5181 GB, free: 9.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2745, allocations: 89.81 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2745, allocations: 1.312 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.2745, allocations: 0.7656 kB / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.2745, allocations: 0 / 0.5182 GB, free: 9.797 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003497/0.2748, allocations: 395.8 kB / 0.5186 GB, free: 9.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.2749, allocations: 9.906 kB / 0.5186 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2749, allocations: 13.06 kB / 0.5186 GB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2751, allocations: 212.8 kB / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2751, allocations: 2.297 kB / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2751, allocations: 3.438 kB / 0.5188 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2753, allocations: 55.69 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.2753, allocations: 6.531 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.2753, allocations: 1.156 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.2753, allocations: 0.625 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.778e-05/0.2754, allocations: 22.67 kB / 0.5189 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.2756, allocations: 290.5 kB / 0.5192 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.2758, allocations: 56.92 kB / 0.5192 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.2758, allocations: 27.77 kB / 0.5192 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2758, allocations: 1.344 kB / 0.5192 GB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.276, allocations: 68.58 kB / 0.5193 GB, free: 8.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.276, allocations: 0 / 0.5193 GB, free: 8.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004331/0.2764, allocations: 174.4 kB / 0.5195 GB, free: 8.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.2765, allocations: 53.33 kB / 0.5195 GB, free: 8.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2766, allocations: 203.4 kB / 0.5197 GB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.2767, allocations: 29.3 kB / 0.5197 GB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.2767, allocations: 102.4 kB / 0.5198 GB, free: 8.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.2767, allocations: 27.98 kB / 0.5199 GB, free: 8.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.2767, allocations: 2.156 kB / 0.5199 GB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.2768, allocations: 324.3 kB / 0.5202 GB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.2768, allocations: 22.66 kB / 0.5202 GB, free: 8.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.2769, allocations: 39.98 kB / 0.5202 GB, free: 8.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.277, allocations: 27.25 kB / 0.5203 GB, free: 8.141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.277, allocations: 1 kB / 0.5203 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001691/0.2772, allocations: 100 kB / 0.5204 GB, free: 8.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.2772, allocations: 8.969 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2772, allocations: 0.5 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.2772, allocations: 2.281 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.2773, allocations: 15.44 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.2773, allocations: 1.219 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.2773, allocations: 9.156 kB / 0.5204 GB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.2774, allocations: 7.703 kB / 0.5204 GB, free: 8.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.208e-05/0.2774, allocations: 126.1 kB / 0.5205 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.2775, allocations: 11.84 kB / 0.5205 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.2775, allocations: 16.31 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2775, allocations: 1.219 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2775, allocations: 0 / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2775, allocations: 1.625 kB / 0.5206 GB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.2779, allocations: 401.7 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2779, allocations: 2.906 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.2779, allocations: 9.156 kB / 0.5209 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2779, allocations: 1.5 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2779, allocations: 4.922 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2779, allocations: 1.453 kB / 0.521 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2779, allocations: 4.453 kB / 0.521 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.2781, allocations: 213.3 kB / 0.5212 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.2782, allocations: 87.45 kB / 0.5212 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.2782, allocations: 4.969 kB / 0.5213 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.2783, allocations: 8.297 kB / 0.5213 GB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.2783, allocations: 9.141 kB / 0.5213 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2783, allocations: 4.75 kB / 0.5213 GB, free: 7.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.2784, allocations: 147.2 kB / 0.5214 GB, free: 7.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2784, allocations: 5.188 kB / 0.5214 GB, free: 7.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.2786, allocations: 22.98 kB / 0.5214 GB, free: 7.32 MB / 346.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008237/0.2795, allocations: 454.3 kB / 0.5219 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.2796, allocations: 60.03 kB / 0.5219 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.2797, allocations: 0.5312 kB / 0.5219 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.2797, allocations: 32.5 kB / 0.522 GB, free: 7.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.28, allocations: 30.28 kB / 0.522 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.2803, allocations: 271.4 kB / 0.5223 GB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2805, allocations: 0.7055 MB / 0.5229 GB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.2805, allocations: 18.81 kB / 0.523 GB, free: 6.203 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2805, allocations: 0 / 0.523 GB, free: 6.203 MB / 346.7 MB Notification: Performance of Templates: time 0.003324/0.2839, allocations: 1.94 MB / 0.5249 GB, free: 6.012 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches