Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.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.Test19,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.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,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.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 226.5 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.0006951/0.000695, allocations: 94.19 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1829/0.1829, allocations: 44.83 MB / 392 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.000261, allocations: 11.98 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09629/0.09657, allocations: 62.95 MB / 0.5153 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.001812/0.09843, allocations: 1.284 MB / 0.5166 GB, free: 1.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.09985, allocations: 1.086 MB / 0.5176 GB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.09991, allocations: 0 / 0.5176 GB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1001, allocations: 19.86 kB / 0.5177 GB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.1004, allocations: 67.81 kB / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.1006, allocations: 90.58 kB / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1008, allocations: 59.83 kB / 0.5179 GB, free: 168 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.1009, allocations: 15.98 kB / 0.5179 GB, free: 152 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.569e-05/0.1009, allocations: 23.86 kB / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.101, allocations: 27.84 kB / 0.5179 GB, free: 100 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1011, allocations: 7.938 kB / 0.5179 GB, free: 92 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.1012, allocations: 79.94 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1737/0.275, allocations: 13.08 kB / 0.518 GB, free: 9.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.2751, allocations: 30.39 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.2754, allocations: 95.38 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2754, allocations: 0.75 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2754, allocations: 3.281 kB / 0.5181 GB, free: 9.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2754, allocations: 0.9688 kB / 0.5182 GB, free: 9.887 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.0004305/0.2758, allocations: 394.1 kB / 0.5185 GB, free: 9.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2759, allocations: 12.58 kB / 0.5185 GB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.2759, allocations: 7.562 kB / 0.5185 GB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2761, allocations: 185.6 kB / 0.5187 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.2761, allocations: 4.125 kB / 0.5187 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2761, allocations: 5.125 kB / 0.5187 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2763, allocations: 62.77 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2763, allocations: 0 / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2763, allocations: 4.859 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2763, allocations: 0.5625 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2764, allocations: 33.22 kB / 0.5188 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.2768, allocations: 289.9 kB / 0.5191 GB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.277, allocations: 51.38 kB / 0.5192 GB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.2771, allocations: 22.08 kB / 0.5192 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2771, allocations: 1.797 kB / 0.5192 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.2771, allocations: 37.7 kB / 0.5192 GB, free: 8.914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2771, allocations: 0 / 0.5192 GB, free: 8.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005901/0.2777, allocations: 164.7 kB / 0.5194 GB, free: 8.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.2778, allocations: 79.73 kB / 0.5194 GB, free: 8.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.2779, allocations: 148 kB / 0.5196 GB, free: 8.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2779, allocations: 27.39 kB / 0.5196 GB, free: 8.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.278, allocations: 94.81 kB / 0.5197 GB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.278, allocations: 17.23 kB / 0.5197 GB, free: 8.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.278, allocations: 0.625 kB / 0.5197 GB, free: 8.547 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.2781, allocations: 318.9 kB / 0.52 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.2781, allocations: 28.53 kB / 0.5201 GB, free: 8.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.2782, allocations: 41.81 kB / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.2783, allocations: 32.28 kB / 0.5201 GB, free: 8.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.2783, allocations: 0 / 0.5201 GB, free: 8.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.2785, allocations: 90.08 kB / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2786, allocations: 6.438 kB / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2786, allocations: 0 / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2786, allocations: 1.719 kB / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.2787, allocations: 18.73 kB / 0.5202 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2787, allocations: 7.922 kB / 0.5202 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.2787, allocations: 12.23 kB / 0.5203 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2787, allocations: 5.25 kB / 0.5203 GB, free: 8.164 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.841e-05/0.2788, allocations: 115.1 kB / 0.5204 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2788, allocations: 8.812 kB / 0.5204 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.2791, allocations: 105.2 kB / 0.5205 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2791, allocations: 0.8125 kB / 0.5205 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2791, allocations: 1.406 kB / 0.5205 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2791, allocations: 0 / 0.5205 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.2795, allocations: 376.5 kB / 0.5208 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2795, allocations: 0 / 0.5208 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.2796, allocations: 15 kB / 0.5209 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2796, allocations: 0 / 0.5209 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.2796, allocations: 2.156 kB / 0.5209 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2796, allocations: 0.5625 kB / 0.5209 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2796, allocations: 1.344 kB / 0.5209 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.2799, allocations: 198.2 kB / 0.521 GB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.2799, allocations: 87.84 kB / 0.5211 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2799, allocations: 2.734 kB / 0.5211 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.28, allocations: 8.594 kB / 0.5211 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.28, allocations: 7.875 kB / 0.5211 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.28, allocations: 3.094 kB / 0.5212 GB, free: 7.469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.891e-05/0.2801, allocations: 117.7 kB / 0.5213 GB, free: 7.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2801, allocations: 0 / 0.5213 GB, free: 7.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.2804, allocations: 35.48 kB / 0.5213 GB, free: 7.387 MB / 346.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.0009099/0.2813, allocations: 492.6 kB / 0.5218 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.2816, allocations: 68.05 kB / 0.5218 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2816, allocations: 0.9688 kB / 0.5218 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.2817, allocations: 28.92 kB / 0.5219 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.282, allocations: 14.91 kB / 0.5219 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.2823, allocations: 218.3 kB / 0.5221 GB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.2824, allocations: 0.6949 MB / 0.5228 GB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.2825, allocations: 19.92 kB / 0.5228 GB, free: 6.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2825, allocations: 1.344 kB / 0.5228 GB, free: 6.27 MB / 346.7 MB Notification: Performance of Templates: time 0.003639/0.2861, allocations: 1.945 MB / 0.5247 GB, free: 6.055 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches