Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009646/0.0009646, allocations: 200 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.278/1.278, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 108.5 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1761/0.1761, allocations: 44.84 MB / 392 MB, free: 9.289 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 12 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09519, allocations: 62.95 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001892/0.09713, allocations: 1.509 MB / 0.5168 GB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.09853, allocations: 1.034 MB / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.09862, allocations: 3.938 kB / 0.5178 GB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1761/0.2747, allocations: 297.5 kB / 0.5181 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005237/0.2753, allocations: 225.9 kB / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2757, allocations: 148 kB / 0.5185 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.276, allocations: 219.8 kB / 0.5187 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/0.2761, allocations: 15.25 kB / 0.5187 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.2763, allocations: 116.1 kB / 0.5188 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.2765, allocations: 166.8 kB / 0.519 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.2766, allocations: 4.125 kB / 0.519 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2767, allocations: 42.83 kB / 0.519 GB, free: 9.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.2769, allocations: 135.3 kB / 0.5191 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.168e-05/0.277, allocations: 78.91 kB / 0.5192 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.2774, allocations: 280.8 kB / 0.5195 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2774, allocations: 0 / 0.5195 GB, free: 9.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2774, allocations: 0 / 0.5195 GB, free: 9.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.2774, allocations: 0 / 0.5195 GB, free: 9.789 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008008/0.2783, allocations: 0.6869 MB / 0.5201 GB, free: 9.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2783, allocations: 10.06 kB / 0.5201 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.2784, allocations: 50.91 kB / 0.5202 GB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.2789, allocations: 434.8 kB / 0.5206 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2789, allocations: 4.078 kB / 0.5206 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.279, allocations: 3.906 kB / 0.5206 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.2792, allocations: 86.53 kB / 0.5207 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2792, allocations: 1.188 kB / 0.5207 GB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2792, allocations: 4 kB / 0.5207 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2792, allocations: 1.219 kB / 0.5207 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2793, allocations: 31.62 kB / 0.5207 GB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.2797, allocations: 383.6 kB / 0.5211 GB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.28, allocations: 110 kB / 0.5212 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.2801, allocations: 39.12 kB / 0.5212 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.2801, allocations: 1.719 kB / 0.5212 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.2803, allocations: 116.8 kB / 0.5214 GB, free: 8.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.2803, allocations: 0 / 0.5214 GB, free: 8.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004259/0.2808, allocations: 197.6 kB / 0.5215 GB, free: 8.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2808, allocations: 87.11 kB / 0.5216 GB, free: 8.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.2819, allocations: 1.05 MB / 0.5227 GB, free: 8.293 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2819, allocations: 26.98 kB / 0.5227 GB, free: 8.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.2821, allocations: 237.3 kB / 0.5229 GB, free: 8.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.2821, allocations: 32.3 kB / 0.5229 GB, free: 8.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.2821, allocations: 5.031 kB / 0.5229 GB, free: 8.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.2822, allocations: 369.1 kB / 0.5233 GB, free: 7.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.2823, allocations: 27.7 kB / 0.5233 GB, free: 7.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.2824, allocations: 56.78 kB / 0.5234 GB, free: 7.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.2825, allocations: 42.52 kB / 0.5234 GB, free: 7.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2825, allocations: 0 / 0.5234 GB, free: 7.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002653/0.2828, allocations: 165.2 kB / 0.5236 GB, free: 7.738 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2828, allocations: 6.094 kB / 0.5236 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2828, allocations: 5.062 kB / 0.5236 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2829, allocations: 5.312 kB / 0.5236 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.283, allocations: 28.08 kB / 0.5236 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.283, allocations: 3.141 kB / 0.5236 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.2831, allocations: 10.02 kB / 0.5236 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2831, allocations: 4.938 kB / 0.5236 GB, free: 7.73 MB / 346.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.0001965/0.2833, allocations: 227.9 kB / 0.5239 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.683e-05/0.2834, allocations: 51.25 kB / 0.5239 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.535e-05/0.2835, allocations: 60.3 kB / 0.524 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2835, allocations: 2.125 kB / 0.524 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2835, allocations: 1.062 kB / 0.524 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2835, allocations: 0.6094 kB / 0.524 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.2838, allocations: 348.4 kB / 0.5243 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2838, allocations: 7.953 kB / 0.5243 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.545e-05/0.2839, allocations: 11.95 kB / 0.5243 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2839, allocations: 1.125 kB / 0.5243 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2839, allocations: 3.609 kB / 0.5243 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2839, allocations: 1.703 kB / 0.5243 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2839, allocations: 0.9375 kB / 0.5243 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.2842, allocations: 200.5 kB / 0.5245 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2843, allocations: 153.8 kB / 0.5247 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.2844, allocations: 3.312 kB / 0.5247 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.2845, allocations: 12.95 kB / 0.5247 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.2845, allocations: 6.5 kB / 0.5247 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2845, allocations: 8.609 kB / 0.5247 GB, free: 7.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008948/0.2854, allocations: 0.7846 MB / 0.5255 GB, free: 7.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2854, allocations: 0 / 0.5255 GB, free: 7.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.2857, allocations: 42.25 kB / 0.5255 GB, free: 7.012 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: 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.0008316/0.2865, allocations: 422.5 kB / 0.5259 GB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.2868, allocations: 79.98 kB / 0.526 GB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2868, allocations: 0 / 0.526 GB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.2869, allocations: 44.97 kB / 0.526 GB, free: 6.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.2873, allocations: 60.27 kB / 0.5261 GB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2885, allocations: 0.9745 MB / 0.527 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2888, allocations: 0.8529 MB / 0.5279 GB, free: 5.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.2888, allocations: 29.11 kB / 0.5279 GB, free: 5.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2888, allocations: 0 / 0.5279 GB, free: 5.52 MB / 346.7 MB Notification: Performance of Templates: time 0.008462/0.2973, allocations: 5.109 MB / 0.5329 GB, free: 4.809 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches