Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 199.2 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.283/1.283, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007448/0.0007448, allocations: 104.7 kB / 295.1 MB, free: 10.05 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: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09487, allocations: 62.96 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001679/0.09659, allocations: 1.359 MB / 0.5167 GB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.09731, allocations: 499.2 kB / 0.5171 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.09736, allocations: 4 kB / 0.5171 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.09754, allocations: 51.81 kB / 0.5172 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.09773, allocations: 63.81 kB / 0.5172 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.098, allocations: 118.5 kB / 0.5174 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.09812, allocations: 71.77 kB / 0.5174 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.0982, allocations: 16.22 kB / 0.5174 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.09825, allocations: 31.84 kB / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.09832, allocations: 31.84 kB / 0.5175 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.09834, allocations: 4 kB / 0.5175 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.09843, allocations: 43.98 kB / 0.5176 GB, free: 476 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.09848, allocations: 15.92 kB / 0.5176 GB, free: 460 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.09851, allocations: 37.64 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.09863, allocations: 83.8 kB / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09864, allocations: 0 / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09865, allocations: 0 / 0.5177 GB, free: 332 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.09866, allocations: 0 / 0.5177 GB, free: 332 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1793/0.2779, allocations: 397.1 kB / 0.5181 GB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.278, allocations: 9 kB / 0.5181 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.278, allocations: 9.188 kB / 0.5181 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2782, allocations: 194.7 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2782, allocations: 7.531 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2783, allocations: 4.062 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2784, allocations: 69.55 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2785, allocations: 5.016 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2785, allocations: 2.062 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2785, allocations: 0.5625 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.2786, allocations: 45.09 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.279, allocations: 302.9 kB / 0.5187 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.2792, allocations: 69.09 kB / 0.5187 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.2793, allocations: 29.45 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2793, allocations: 1.266 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.2793, allocations: 33.66 kB / 0.5188 GB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2793, allocations: 0 / 0.5188 GB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.2808, allocations: 473.5 kB / 0.5193 GB, free: 11.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.788e-05/0.2808, allocations: 52.59 kB / 0.5193 GB, free: 11.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.281, allocations: 177 kB / 0.5195 GB, free: 11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.281, allocations: 26.52 kB / 0.5195 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.2811, allocations: 107.7 kB / 0.5196 GB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.2811, allocations: 33.77 kB / 0.5196 GB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.2811, allocations: 1.125 kB / 0.5196 GB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.2811, allocations: 322.6 kB / 0.5199 GB, free: 10.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.2813, allocations: 52.81 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2814, allocations: 49.8 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2816, allocations: 58.61 kB / 0.5201 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2816, allocations: 0 / 0.5201 GB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003008/0.2819, allocations: 162.6 kB / 0.5203 GB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2819, allocations: 5.875 kB / 0.5203 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2819, allocations: 3.938 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.2819, allocations: 5.109 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2821, allocations: 29.52 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2821, allocations: 4.844 kB / 0.5203 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.2821, allocations: 16.53 kB / 0.5203 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.2821, allocations: 5.719 kB / 0.5203 GB, free: 10.48 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 (11): * Single equations (assignments): 11 * 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 6.731e-05/0.2822, allocations: 123.6 kB / 0.5204 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.2823, allocations: 8.5 kB / 0.5205 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.2826, allocations: 183.2 kB / 0.5206 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2827, allocations: 1.188 kB / 0.5206 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2827, allocations: 5.578 kB / 0.5206 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2827, allocations: 0.6562 kB / 0.5206 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.2832, allocations: 492.7 kB / 0.5211 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2832, allocations: 1.5 kB / 0.5211 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.2834, allocations: 32.95 kB / 0.5211 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2834, allocations: 1.906 kB / 0.5211 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2834, allocations: 4.406 kB / 0.5211 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2834, allocations: 0.7812 kB / 0.5211 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2834, allocations: 0.9375 kB / 0.5211 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.2837, allocations: 266.2 kB / 0.5214 GB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2838, allocations: 92.31 kB / 0.5215 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2838, allocations: 7.891 kB / 0.5215 GB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.2839, allocations: 18.08 kB / 0.5215 GB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.2839, allocations: 11.08 kB / 0.5215 GB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.353e-06/0.2839, allocations: 3.719 kB / 0.5215 GB, free: 9.707 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.284, allocations: 136.5 kB / 0.5217 GB, free: 9.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.284, allocations: 0 / 0.5217 GB, free: 9.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.2843, allocations: 26.55 kB / 0.5217 GB, free: 9.629 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008041/0.2851, allocations: 457.5 kB / 0.5221 GB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.2854, allocations: 123.5 kB / 0.5222 GB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2854, allocations: 3.938 kB / 0.5222 GB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2856, allocations: 66.05 kB / 0.5223 GB, free: 9.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2859, allocations: 19.52 kB / 0.5223 GB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.2863, allocations: 308.5 kB / 0.5226 GB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2864, allocations: 0.7057 MB / 0.5233 GB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.2865, allocations: 16.53 kB / 0.5233 GB, free: 8.449 MB / 346.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2865, allocations: 0 / 0.5233 GB, free: 8.449 MB / 346.7 MB Notification: Performance of Templates: time 0.00337/0.2898, allocations: 1.884 MB / 0.5252 GB, free: 8.242 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches