Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 196.7 kB / 15.79 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, 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.0007614/0.0007615, allocations: 98.62 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.1821/0.1821, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002452, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09626, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.001745/0.09805, allocations: 1.339 MB / 0.5166 GB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.09878, allocations: 0.4953 MB / 0.5171 GB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.09883, allocations: 3.938 kB / 0.5171 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.09929, allocations: 439.2 kB / 0.5175 GB, free: 496 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.09963, allocations: 271.5 kB / 0.5178 GB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.09991, allocations: 114.6 kB / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.179/0.2789, allocations: 130.5 kB / 0.518 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.279, allocations: 16.48 kB / 0.5181 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.2792, allocations: 99.41 kB / 0.5181 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2795, allocations: 166.3 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2795, allocations: 1 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.2796, allocations: 28.58 kB / 0.5183 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2797, allocations: 83.84 kB / 0.5184 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.2798, allocations: 66.98 kB / 0.5185 GB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.28, allocations: 183.9 kB / 0.5187 GB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.28, allocations: 0.625 kB / 0.5187 GB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.28, allocations: 0 / 0.5187 GB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2801, allocations: 2.844 kB / 0.5187 GB, free: 10.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005296/0.2806, allocations: 0.5996 MB / 0.5192 GB, free: 9.684 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2806, allocations: 10.19 kB / 0.5192 GB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.2807, allocations: 45.66 kB / 0.5193 GB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.2809, allocations: 275.3 kB / 0.5196 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2809, allocations: 2.719 kB / 0.5196 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.281, allocations: 3.234 kB / 0.5196 GB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.2811, allocations: 52.5 kB / 0.5196 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2811, allocations: 0 / 0.5196 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.2811, allocations: 1.781 kB / 0.5196 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2811, allocations: 0 / 0.5196 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.2812, allocations: 31.08 kB / 0.5196 GB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.2817, allocations: 392.1 kB / 0.52 GB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.2819, allocations: 47.53 kB / 0.5201 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.035e-05/0.2819, allocations: 23.25 kB / 0.5201 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.2819, allocations: 1.844 kB / 0.5201 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.282, allocations: 31.92 kB / 0.5201 GB, free: 9.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.282, allocations: 1 kB / 0.5201 GB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005939/0.2826, allocations: 238.3 kB / 0.5203 GB, free: 8.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.2826, allocations: 57.28 kB / 0.5204 GB, free: 8.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.2835, allocations: 0.8704 MB / 0.5212 GB, free: 8.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.2835, allocations: 25.7 kB / 0.5213 GB, free: 8.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2837, allocations: 230.3 kB / 0.5215 GB, free: 8.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2837, allocations: 16.16 kB / 0.5215 GB, free: 8.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.2837, allocations: 0 / 0.5215 GB, free: 8.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.2838, allocations: 361.4 kB / 0.5219 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.2839, allocations: 21.8 kB / 0.5219 GB, free: 8.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.2839, allocations: 27.59 kB / 0.5219 GB, free: 8.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.284, allocations: 24.73 kB / 0.5219 GB, free: 8.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.284, allocations: 0 / 0.5219 GB, free: 8.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001972/0.2842, allocations: 126.3 kB / 0.522 GB, free: 8.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2842, allocations: 8.172 kB / 0.5221 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2842, allocations: 0 / 0.5221 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2843, allocations: 2.266 kB / 0.5221 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.2843, allocations: 13.41 kB / 0.5221 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2843, allocations: 1.812 kB / 0.5221 GB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.2844, allocations: 10.03 kB / 0.5221 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2844, allocations: 1.375 kB / 0.5221 GB, free: 8.242 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 0.0001651/0.2846, allocations: 215.8 kB / 0.5223 GB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.2846, allocations: 42.48 kB / 0.5223 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.2849, allocations: 141.9 kB / 0.5225 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2849, allocations: 7.484 kB / 0.5225 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2849, allocations: 7.938 kB / 0.5225 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.285, allocations: 0.6562 kB / 0.5225 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.2854, allocations: 465.9 kB / 0.5229 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2855, allocations: 0.8125 kB / 0.5229 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.2855, allocations: 18.7 kB / 0.5229 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2855, allocations: 0 / 0.5229 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.2855, allocations: 2.297 kB / 0.5229 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2855, allocations: 0 / 0.5229 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2856, allocations: 4.562 kB / 0.5229 GB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.2858, allocations: 224 kB / 0.5232 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.2858, allocations: 108.2 kB / 0.5233 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2859, allocations: 2.297 kB / 0.5233 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.286, allocations: 9.984 kB / 0.5233 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.286, allocations: 12.08 kB / 0.5233 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.286, allocations: 2.156 kB / 0.5233 GB, free: 7.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006401/0.2867, allocations: 0.6527 MB / 0.5239 GB, free: 7.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2867, allocations: 1.875 kB / 0.5239 GB, free: 7.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.2869, allocations: 26.2 kB / 0.524 GB, free: 7.383 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.0007924/0.2877, allocations: 398.5 kB / 0.5243 GB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2879, allocations: 55.41 kB / 0.5244 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2879, allocations: 1.094 kB / 0.5244 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.288, allocations: 30.89 kB / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.2884, allocations: 25.56 kB / 0.5244 GB, free: 7.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2896, allocations: 0.8566 MB / 0.5253 GB, free: 6.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2899, allocations: 0.8235 MB / 0.5261 GB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.29, allocations: 14.39 kB / 0.5261 GB, free: 6.113 MB / 346.7 MB Notification: Performance of SimCode: time 2e-07/0.29, allocations: 0 / 0.5261 GB, free: 6.113 MB / 346.7 MB Notification: Performance of Templates: time 0.007899/0.2979, allocations: 3.655 MB / 0.5297 GB, free: 5.336 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches