Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 202.1 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.245/1.245, allocations: 226.6 MB / 243.1 MB, free: 12.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006817/0.0006817, allocations: 95.45 kB / 295.1 MB, free: 4.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1765/0.1765, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002263/0.000226, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08076, allocations: 62.95 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001367/0.08216, allocations: 1.291 MB / 0.5166 GB, free: 3.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005791/0.08275, allocations: 487.3 kB / 0.517 GB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.0828, allocations: 0 / 0.517 GB, free: 3.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.08297, allocations: 23.86 kB / 0.5171 GB, free: 3.297 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.08314, allocations: 63.75 kB / 0.5171 GB, free: 3.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.08333, allocations: 71.86 kB / 0.5172 GB, free: 3.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.08343, allocations: 51.84 kB / 0.5172 GB, free: 3.113 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.827e-05/0.08352, allocations: 23.95 kB / 0.5173 GB, free: 3.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.584e-05/0.08356, allocations: 19.88 kB / 0.5173 GB, free: 3.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.08361, allocations: 19.86 kB / 0.5173 GB, free: 3.051 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.08363, allocations: 0 / 0.5173 GB, free: 3.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-05/0.08369, allocations: 27.98 kB / 0.5173 GB, free: 3.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.08373, allocations: 19.86 kB / 0.5174 GB, free: 3.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.08375, allocations: 29.7 kB / 0.5174 GB, free: 2.969 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.718e-05/0.08385, allocations: 55.91 kB / 0.5174 GB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.08386, allocations: 0 / 0.5174 GB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.08386, allocations: 0 / 0.5174 GB, free: 2.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.08387, allocations: 4 kB / 0.5174 GB, free: 2.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002946/0.08417, allocations: 387.3 kB / 0.5178 GB, free: 2.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.0842, allocations: 8.031 kB / 0.5178 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.08424, allocations: 7.906 kB / 0.5178 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.08435, allocations: 190.9 kB / 0.518 GB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.08437, allocations: 0 / 0.518 GB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.08439, allocations: 7.938 kB / 0.518 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.0845, allocations: 49.69 kB / 0.5181 GB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.08452, allocations: 4 kB / 0.5181 GB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.08453, allocations: 0 / 0.5181 GB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.08454, allocations: 0 / 0.5181 GB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.08462, allocations: 23.98 kB / 0.5181 GB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.08487, allocations: 280.8 kB / 0.5184 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.08504, allocations: 46.56 kB / 0.5184 GB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.08509, allocations: 20.94 kB / 0.5184 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.08512, allocations: 0 / 0.5184 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.688e-06/0.08513, allocations: 30.56 kB / 0.5185 GB, free: 1.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.08514, allocations: 0 / 0.5185 GB, free: 1.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000461/0.0856, allocations: 161.2 kB / 0.5186 GB, free: 1.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.08563, allocations: 55.36 kB / 0.5187 GB, free: 1.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.08574, allocations: 173.1 kB / 0.5188 GB, free: 1.305 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.08576, allocations: 29.64 kB / 0.5189 GB, free: 1.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.08579, allocations: 96.12 kB / 0.5189 GB, free: 1.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.08581, allocations: 15.81 kB / 0.519 GB, free: 1.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.08582, allocations: 0 / 0.519 GB, free: 1.156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.08587, allocations: 322.8 kB / 0.5193 GB, free: 0.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.08593, allocations: 15.98 kB / 0.5193 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.08599, allocations: 27.98 kB / 0.5193 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.08606, allocations: 23.98 kB / 0.5193 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.08607, allocations: 0 / 0.5193 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00015/0.08622, allocations: 89.58 kB / 0.5194 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.08624, allocations: 6.5 kB / 0.5194 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.08625, allocations: 0 / 0.5194 GB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.08627, allocations: 4 kB / 0.5194 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.08633, allocations: 15.98 kB / 0.5194 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.08634, allocations: 7.891 kB / 0.5194 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.08639, allocations: 7.938 kB / 0.5195 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.0864, allocations: 3.938 kB / 0.5195 GB, free: 0.6289 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.492e-05/0.08646, allocations: 125.8 kB / 0.5196 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.08649, allocations: 7.906 kB / 0.5196 GB, free: 500 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.08669, allocations: 106.1 kB / 0.5197 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.0867, allocations: 7.938 kB / 0.5197 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.08671, allocations: 4 kB / 0.5197 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.08671, allocations: 3.953 kB / 0.5197 GB, free: 376 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.08703, allocations: 354.5 kB / 0.52 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.08705, allocations: 288 / 0.52 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.587e-05/0.08711, allocations: 16 kB / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.08712, allocations: 0 / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.08713, allocations: 0 / 0.5201 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.08713, allocations: 7.938 kB / 0.5201 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.08714, allocations: 0 / 0.5201 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.08735, allocations: 191.4 kB / 0.5202 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.08742, allocations: 85.02 kB / 0.5203 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.08744, allocations: 7.984 kB / 0.5203 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.08751, allocations: 4 kB / 0.5203 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.08755, allocations: 11.94 kB / 0.5204 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.08756, allocations: 0 / 0.5204 GB, free: 15.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.573e-05/0.08765, allocations: 126.8 kB / 0.5205 GB, free: 15.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08765, allocations: 0 / 0.5205 GB, free: 15.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.08786, allocations: 16 kB / 0.5205 GB, free: 15.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000746/0.08861, allocations: 403.3 kB / 0.5209 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.08881, allocations: 47.97 kB / 0.5209 GB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.08882, allocations: 0 / 0.5209 GB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.0889, allocations: 35.92 kB / 0.521 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.08917, allocations: 15.98 kB / 0.521 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.08951, allocations: 211.3 kB / 0.5212 GB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.08976, allocations: 0.7004 MB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.08979, allocations: 15.44 kB / 0.5219 GB, free: 14.13 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.0898, allocations: 0 / 0.5219 GB, free: 14.13 MB / 362.7 MB Notification: Performance of Templates: time 0.002546/0.09235, allocations: 1.428 MB / 0.5233 GB, free: 12.7 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches