Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009197/0.0009197, allocations: 197.8 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007095/0.0007095, allocations: 100.9 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1875/0.1875, allocations: 44.83 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002373, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09136/0.09161, allocations: 62.95 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001717/0.09336, allocations: 1.315 MB / 0.5166 GB, free: 1.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000755/0.09413, allocations: 499.3 kB / 0.5171 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.09419, allocations: 3.938 kB / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.09447, allocations: 119.8 kB / 0.5172 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.0947, allocations: 107.7 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.09495, allocations: 99.81 kB / 0.5174 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.09509, allocations: 79.73 kB / 0.5175 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.468e-05/0.09518, allocations: 19.97 kB / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.09524, allocations: 31.91 kB / 0.5175 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.09535, allocations: 71.78 kB / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.09537, allocations: 3.938 kB / 0.5176 GB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.09546, allocations: 39.98 kB / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.0955, allocations: 31.84 kB / 0.5177 GB, free: 376 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.09554, allocations: 37.64 kB / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.09568, allocations: 91.86 kB / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.09569, allocations: 0 / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.0957, allocations: 0 / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.09571, allocations: 0 / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1765/0.2722, allocations: 411.5 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2723, allocations: 9.125 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.2723, allocations: 17.88 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.2725, allocations: 205.2 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2725, allocations: 6.969 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.2726, allocations: 4.406 kB / 0.5184 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2727, allocations: 53.08 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2727, allocations: 1.234 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2728, allocations: 5.109 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.2728, allocations: 3.062 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2729, allocations: 30.3 kB / 0.5185 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.2733, allocations: 315.2 kB / 0.5188 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.2734, allocations: 46.34 kB / 0.5188 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.2734, allocations: 20.52 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.2735, allocations: 4.391 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.2735, allocations: 33.55 kB / 0.5189 GB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2735, allocations: 0 / 0.5189 GB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000911/0.2744, allocations: 282.8 kB / 0.5192 GB, free: 11.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.2744, allocations: 56.88 kB / 0.5192 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.2747, allocations: 279.5 kB / 0.5195 GB, free: 10.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2747, allocations: 28.39 kB / 0.5195 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.2748, allocations: 116.4 kB / 0.5196 GB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.2748, allocations: 24.92 kB / 0.5197 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.2748, allocations: 2.719 kB / 0.5197 GB, free: 10.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.2749, allocations: 330.9 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.275, allocations: 32.19 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.209e-05/0.2751, allocations: 33.66 kB / 0.52 GB, free: 10.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.203e-05/0.2752, allocations: 40.36 kB / 0.5201 GB, free: 10.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2752, allocations: 4 kB / 0.5201 GB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.2754, allocations: 127.1 kB / 0.5202 GB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2754, allocations: 4.531 kB / 0.5202 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2754, allocations: 0.7031 kB / 0.5202 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2755, allocations: 1.188 kB / 0.5202 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2756, allocations: 18.34 kB / 0.5202 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2756, allocations: 9.984 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.2756, allocations: 6.219 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.2756, allocations: 2.875 kB / 0.5202 GB, free: 10.47 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 (8): * Single equations (assignments): 8 * 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.56e-05/0.2757, allocations: 135.1 kB / 0.5204 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.2758, allocations: 15.31 kB / 0.5204 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2761, allocations: 145 kB / 0.5205 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2761, allocations: 1.891 kB / 0.5205 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2761, allocations: 0 / 0.5205 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2761, allocations: 12.3 kB / 0.5205 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.2766, allocations: 440.4 kB / 0.521 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2766, allocations: 1.062 kB / 0.521 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.2767, allocations: 19.22 kB / 0.521 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2767, allocations: 4.719 kB / 0.521 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2767, allocations: 7.531 kB / 0.521 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2767, allocations: 1.969 kB / 0.521 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2767, allocations: 2.125 kB / 0.521 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.277, allocations: 231.4 kB / 0.5212 GB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.277, allocations: 93 kB / 0.5213 GB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.277, allocations: 1.875 kB / 0.5213 GB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-05/0.2771, allocations: 16.69 kB / 0.5213 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.2772, allocations: 9.219 kB / 0.5213 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2772, allocations: 2.094 kB / 0.5213 GB, free: 9.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.2773, allocations: 210 kB / 0.5215 GB, free: 9.645 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2773, allocations: 0 / 0.5215 GB, free: 9.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.2776, allocations: 22.08 kB / 0.5215 GB, free: 9.645 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008448/0.2784, allocations: 450.6 kB / 0.522 GB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.2787, allocations: 82.95 kB / 0.5221 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.2787, allocations: 0 / 0.5221 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.887e-05/0.2788, allocations: 44.86 kB / 0.5221 GB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2791, allocations: 18.77 kB / 0.5221 GB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.2796, allocations: 372.8 kB / 0.5225 GB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.2798, allocations: 0.7237 MB / 0.5232 GB, free: 8.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.2798, allocations: 14.83 kB / 0.5232 GB, free: 8.488 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2799, allocations: 1.375 kB / 0.5232 GB, free: 8.488 MB / 346.7 MB Notification: Performance of Templates: time 0.003749/0.2836, allocations: 1.924 MB / 0.5251 GB, free: 8.258 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches