Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009634/0.0009634, allocations: 198.1 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.243/1.243, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007681/0.0007681, allocations: 106.3 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.1948/0.1948, allocations: 44.84 MB / 392 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 11.98 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08767/0.08794, allocations: 62.96 MB / 0.5153 GB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.001968/0.08994, allocations: 1.573 MB / 0.5169 GB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.09127, allocations: 0.9084 MB / 0.5177 GB, free: 296 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.09134, allocations: 0 / 0.5177 GB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.09171, allocations: 243.5 kB / 0.518 GB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1792/0.2709, allocations: 217.6 kB / 0.5182 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2722, allocations: 438.6 kB / 0.5186 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.2726, allocations: 246.9 kB / 0.5188 GB, free: 9.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2728, allocations: 39.97 kB / 0.5189 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2729, allocations: 109.1 kB / 0.519 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.2731, allocations: 164.1 kB / 0.5191 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.2732, allocations: 6.484 kB / 0.5191 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.2733, allocations: 45.36 kB / 0.5192 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2734, allocations: 79.08 kB / 0.5193 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.2735, allocations: 65.05 kB / 0.5193 GB, free: 9.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.2737, allocations: 197.1 kB / 0.5195 GB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2737, allocations: 0.8125 kB / 0.5195 GB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2737, allocations: 4 kB / 0.5195 GB, free: 9.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2738, allocations: 0 / 0.5195 GB, free: 9.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005878/0.2743, allocations: 0.5803 MB / 0.5201 GB, free: 9.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2744, allocations: 9 kB / 0.5201 GB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.2745, allocations: 37.78 kB / 0.5201 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2748, allocations: 299.9 kB / 0.5204 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.2748, allocations: 3.562 kB / 0.5204 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2748, allocations: 8.625 kB / 0.5204 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.275, allocations: 83.86 kB / 0.5205 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.275, allocations: 3.609 kB / 0.5205 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.275, allocations: 4.656 kB / 0.5205 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2751, allocations: 1.844 kB / 0.5205 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.2752, allocations: 52.52 kB / 0.5206 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.2757, allocations: 442.9 kB / 0.521 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2758, allocations: 57.56 kB / 0.521 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.2759, allocations: 26.84 kB / 0.5211 GB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2759, allocations: 3.047 kB / 0.5211 GB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.276, allocations: 39.03 kB / 0.5211 GB, free: 8.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.276, allocations: 3.938 kB / 0.5211 GB, free: 8.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003134/0.2763, allocations: 141.3 kB / 0.5213 GB, free: 8.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.2763, allocations: 53.12 kB / 0.5213 GB, free: 8.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.2769, allocations: 0.5535 MB / 0.5218 GB, free: 8.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.2769, allocations: 34.83 kB / 0.5219 GB, free: 8.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.277, allocations: 198.4 kB / 0.5221 GB, free: 8.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2771, allocations: 16.78 kB / 0.5221 GB, free: 8.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2771, allocations: 3.875 kB / 0.5221 GB, free: 8.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.2772, allocations: 349.5 kB / 0.5224 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.2772, allocations: 18.94 kB / 0.5224 GB, free: 8.027 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.2773, allocations: 19.94 kB / 0.5225 GB, free: 8.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.2773, allocations: 26.28 kB / 0.5225 GB, free: 8.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2773, allocations: 0 / 0.5225 GB, free: 8.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001746/0.2775, allocations: 117.4 kB / 0.5226 GB, free: 7.969 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2776, allocations: 5.344 kB / 0.5226 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.2776, allocations: 1.984 kB / 0.5226 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2776, allocations: 0 / 0.5226 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.2777, allocations: 17.62 kB / 0.5226 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2777, allocations: 5.062 kB / 0.5226 GB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.2778, allocations: 8.484 kB / 0.5226 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.2778, allocations: 1.562 kB / 0.5226 GB, free: 7.957 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 (6): * Single equations (assignments): 6 * 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 0.0001495/0.2779, allocations: 165.2 kB / 0.5228 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.278, allocations: 36.58 kB / 0.5228 GB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.2783, allocations: 141 kB / 0.523 GB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2783, allocations: 4 kB / 0.523 GB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2783, allocations: 6.25 kB / 0.523 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2783, allocations: 0 / 0.523 GB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.2786, allocations: 286.1 kB / 0.5232 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2786, allocations: 0 / 0.5232 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.2787, allocations: 13.94 kB / 0.5233 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2787, allocations: 0 / 0.5233 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2787, allocations: 2.016 kB / 0.5233 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2787, allocations: 0.6562 kB / 0.5233 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2787, allocations: 1.188 kB / 0.5233 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2789, allocations: 223.6 kB / 0.5235 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.279, allocations: 121 kB / 0.5236 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.279, allocations: 2.031 kB / 0.5236 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.2791, allocations: 3.641 kB / 0.5236 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.2792, allocations: 7.141 kB / 0.5236 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2792, allocations: 5.984 kB / 0.5236 GB, free: 7.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004522/0.2796, allocations: 420.1 kB / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2796, allocations: 0 / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.2799, allocations: 37.83 kB / 0.524 GB, free: 7.203 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 (6): * Single equations (assignments): 6 * 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.001115/0.281, allocations: 0.5944 MB / 0.5246 GB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.2812, allocations: 57.27 kB / 0.5247 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2812, allocations: 0 / 0.5247 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-05/0.2813, allocations: 28.77 kB / 0.5247 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2818, allocations: 59.66 kB / 0.5248 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.2826, allocations: 0.6526 MB / 0.5254 GB, free: 6.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.2829, allocations: 0.7903 MB / 0.5262 GB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.2829, allocations: 26.3 kB / 0.5262 GB, free: 5.855 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2829, allocations: 3.938 kB / 0.5262 GB, free: 5.852 MB / 346.7 MB Notification: Performance of Templates: time 0.006036/0.289, allocations: 3.746 MB / 0.5299 GB, free: 5.367 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches