Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 200.2 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.262/1.262, allocations: 226.5 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.00072/0.00072, allocations: 93.33 kB / 295.1 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 44.83 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.000227, allocations: 12 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0804/0.08064, allocations: 62.95 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001391/0.08208, allocations: 1.392 MB / 0.5167 GB, free: 3.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009704/0.08306, allocations: 0.9207 MB / 0.5176 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.08313, allocations: 3.938 kB / 0.5176 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.08338, allocations: 55.86 kB / 0.5176 GB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.08358, allocations: 87.66 kB / 0.5177 GB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.08377, allocations: 95.2 kB / 0.5178 GB, free: 2.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.08389, allocations: 95.67 kB / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.08394, allocations: 8.219 kB / 0.5179 GB, free: 2.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.08401, allocations: 43.78 kB / 0.518 GB, free: 2.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.08409, allocations: 39.83 kB / 0.518 GB, free: 2.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.08411, allocations: 0 / 0.518 GB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.08418, allocations: 24 kB / 0.518 GB, free: 2.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.08421, allocations: 15.92 kB / 0.518 GB, free: 2.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.08426, allocations: 37.64 kB / 0.5181 GB, free: 2.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.08436, allocations: 88.09 kB / 0.5182 GB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08437, allocations: 0 / 0.5182 GB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08438, allocations: 0 / 0.5182 GB, free: 2.195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.08439, allocations: 0 / 0.5182 GB, free: 2.195 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003471/0.08474, allocations: 398.9 kB / 0.5185 GB, free: 1.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.08477, allocations: 8.031 kB / 0.5185 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.08481, allocations: 15.81 kB / 0.5186 GB, free: 1.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.08496, allocations: 207.4 kB / 0.5188 GB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.08499, allocations: 7.984 kB / 0.5188 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.085, allocations: 4 kB / 0.5188 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.08511, allocations: 53.69 kB / 0.5188 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.08513, allocations: 0 / 0.5188 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.08514, allocations: 3.984 kB / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.08515, allocations: 0 / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.08521, allocations: 8 kB / 0.5188 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.08533, allocations: 185.6 kB / 0.519 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.08547, allocations: 58.55 kB / 0.5191 GB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.08552, allocations: 24.78 kB / 0.5191 GB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.08554, allocations: 4 kB / 0.5191 GB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.08567, allocations: 63.39 kB / 0.5191 GB, free: 1.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.08568, allocations: 0 / 0.5191 GB, free: 1.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002114/0.0859, allocations: 97.52 kB / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.08593, allocations: 55.41 kB / 0.5193 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.08605, allocations: 196 kB / 0.5195 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.08607, allocations: 25.7 kB / 0.5195 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.0861, allocations: 104.1 kB / 0.5196 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.08613, allocations: 7.906 kB / 0.5196 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.08613, allocations: 4 kB / 0.5196 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.08618, allocations: 322.8 kB / 0.5199 GB, free: 172 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.08622, allocations: 19.98 kB / 0.5199 GB, free: 152 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.448e-05/0.08628, allocations: 21.72 kB / 0.52 GB, free: 124 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.447e-05/0.08634, allocations: 19.98 kB / 0.52 GB, free: 104 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.08634, allocations: 3.953 kB / 0.52 GB, free: 100 kB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001183/0.08647, allocations: 85.44 kB / 0.5201 GB, free: 8 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.08649, allocations: 4 kB / 0.5201 GB, free: 4 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.08649, allocations: 0 / 0.5201 GB, free: 4 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.08651, allocations: 0 / 0.5201 GB, free: 4 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.08659, allocations: 20.02 kB / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.0866, allocations: 0 / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.08665, allocations: 4 kB / 0.5201 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.08666, allocations: 0 / 0.5201 GB, free: 15.98 MB / 362.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 (7): * Single equations (assignments): 7 * 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 9.138e-05/0.08676, allocations: 132.6 kB / 0.5202 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.08678, allocations: 15.86 kB / 0.5202 GB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.08682, allocations: 13 kB / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.08683, allocations: 0 / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.08683, allocations: 0 / 0.5202 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.08684, allocations: 4 kB / 0.5203 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.08697, allocations: 193.5 kB / 0.5204 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.08698, allocations: 320 / 0.5204 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.08701, allocations: 11.89 kB / 0.5204 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.08702, allocations: 0 / 0.5204 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.08703, allocations: 4 kB / 0.5205 GB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.08704, allocations: 4 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.08704, allocations: 3.938 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.08721, allocations: 112.9 kB / 0.5206 GB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.08727, allocations: 93 kB / 0.5207 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.08729, allocations: 3.953 kB / 0.5207 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.08734, allocations: 0 / 0.5207 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.08737, allocations: 7.984 kB / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.08739, allocations: 4 kB / 0.5207 GB, free: 15.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.0875, allocations: 143.2 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0875, allocations: 0 / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.0877, allocations: 20 kB / 0.5208 GB, free: 15.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000755/0.08846, allocations: 405.4 kB / 0.5212 GB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.0886, allocations: 39.98 kB / 0.5213 GB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.08861, allocations: 3.938 kB / 0.5213 GB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.08867, allocations: 19.98 kB / 0.5213 GB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.0889, allocations: 23.59 kB / 0.5213 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.08928, allocations: 254.8 kB / 0.5215 GB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.08952, allocations: 0.7004 MB / 0.5222 GB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.08955, allocations: 11.44 kB / 0.5222 GB, free: 13.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.08956, allocations: 4 kB / 0.5222 GB, free: 13.76 MB / 362.7 MB Notification: Performance of Templates: time 0.0028/0.09236, allocations: 1.711 MB / 0.5239 GB, free: 12.05 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches