Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001009/0.001009, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.000748, allocations: 90.25 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1849/0.1849, allocations: 44.83 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002262/0.0002262, allocations: 11.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09475, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002173/0.09697, allocations: 1.673 MB / 0.517 GB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.09858, allocations: 1.045 MB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.577e-05/0.0987, allocations: 4 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1819/0.2806, allocations: 245.2 kB / 0.5182 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.2811, allocations: 226 kB / 0.5184 GB, free: 9.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.2824, allocations: 0.6025 MB / 0.519 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2828, allocations: 290.5 kB / 0.5193 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.283, allocations: 66.52 kB / 0.5194 GB, free: 9.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2831, allocations: 119.5 kB / 0.5195 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.2833, allocations: 171.4 kB / 0.5196 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.2833, allocations: 4.156 kB / 0.5196 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.2835, allocations: 82.12 kB / 0.5197 GB, free: 9.777 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.2836, allocations: 91.73 kB / 0.5198 GB, free: 9.762 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.2837, allocations: 65.3 kB / 0.5199 GB, free: 9.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002883/0.284, allocations: 256.8 kB / 0.5201 GB, free: 9.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.284, allocations: 0 / 0.5201 GB, free: 9.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.284, allocations: 1.188 kB / 0.5201 GB, free: 9.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.284, allocations: 5.594 kB / 0.5201 GB, free: 9.699 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005385/0.2845, allocations: 0.6145 MB / 0.5207 GB, free: 9.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.2846, allocations: 8.812 kB / 0.5207 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.2846, allocations: 39.95 kB / 0.5208 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2849, allocations: 317.2 kB / 0.5211 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.285, allocations: 10 kB / 0.5211 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.285, allocations: 11.16 kB / 0.5211 GB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.2852, allocations: 123.5 kB / 0.5212 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2852, allocations: 4.875 kB / 0.5212 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2853, allocations: 5.344 kB / 0.5212 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2853, allocations: 2.641 kB / 0.5212 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2854, allocations: 102.4 kB / 0.5213 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.286, allocations: 0.5039 MB / 0.5218 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.2862, allocations: 115.7 kB / 0.5219 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.2863, allocations: 50.86 kB / 0.522 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2863, allocations: 12.3 kB / 0.522 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.2863, allocations: 32.33 kB / 0.522 GB, free: 8.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.2863, allocations: 0 / 0.522 GB, free: 8.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008653/0.2872, allocations: 458.7 kB / 0.5225 GB, free: 8.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.2872, allocations: 52.62 kB / 0.5225 GB, free: 8.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.2878, allocations: 0.5659 MB / 0.5231 GB, free: 8.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.2878, allocations: 30.42 kB / 0.5231 GB, free: 8.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2879, allocations: 206.7 kB / 0.5233 GB, free: 8.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.288, allocations: 56.34 kB / 0.5233 GB, free: 8.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.288, allocations: 8.688 kB / 0.5233 GB, free: 8.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.288, allocations: 362.6 kB / 0.5237 GB, free: 7.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.2882, allocations: 70.19 kB / 0.5238 GB, free: 7.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.2883, allocations: 70.23 kB / 0.5238 GB, free: 7.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2884, allocations: 74.84 kB / 0.5239 GB, free: 7.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2885, allocations: 4 kB / 0.5239 GB, free: 7.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000339/0.2888, allocations: 233.5 kB / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2888, allocations: 5.25 kB / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2888, allocations: 1.656 kB / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2888, allocations: 0 / 0.5241 GB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.289, allocations: 44.73 kB / 0.5242 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.289, allocations: 1.641 kB / 0.5242 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.2891, allocations: 11.39 kB / 0.5242 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2891, allocations: 6.828 kB / 0.5242 GB, free: 7.668 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 (17): * Single equations (assignments): 17 * 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.000134/0.2892, allocations: 180.5 kB / 0.5244 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2893, allocations: 42.16 kB / 0.5244 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.2898, allocations: 290.8 kB / 0.5247 GB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2898, allocations: 6.703 kB / 0.5247 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2898, allocations: 0 / 0.5247 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2898, allocations: 0.9375 kB / 0.5247 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.2906, allocations: 0.6924 MB / 0.5254 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2906, allocations: 1 kB / 0.5254 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2907, allocations: 32.89 kB / 0.5254 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2907, allocations: 1.094 kB / 0.5254 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2908, allocations: 14.67 kB / 0.5254 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2908, allocations: 5.594 kB / 0.5254 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2908, allocations: 0 / 0.5254 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.2911, allocations: 344 kB / 0.5257 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.2912, allocations: 121.5 kB / 0.5259 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.2912, allocations: 5.828 kB / 0.5259 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2913, allocations: 6.453 kB / 0.5259 GB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2914, allocations: 20.52 kB / 0.5259 GB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.2914, allocations: 3.844 kB / 0.5259 GB, free: 6.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003849/0.2918, allocations: 425.5 kB / 0.5263 GB, free: 6.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2918, allocations: 0 / 0.5263 GB, free: 6.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00027/0.2921, allocations: 51.58 kB / 0.5263 GB, free: 6.562 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 (17): * Single equations (assignments): 17 * 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.001243/0.2933, allocations: 0.6888 MB / 0.527 GB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.2937, allocations: 171 kB / 0.5272 GB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2937, allocations: 0 / 0.5272 GB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2938, allocations: 95.69 kB / 0.5273 GB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.2943, allocations: 68.03 kB / 0.5273 GB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.2952, allocations: 0.8004 MB / 0.5281 GB, free: 5.688 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2954, allocations: 0.822 MB / 0.5289 GB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.2955, allocations: 35.03 kB / 0.529 GB, free: 4.965 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2955, allocations: 0 / 0.529 GB, free: 4.965 MB / 346.7 MB Notification: Performance of Templates: time 0.007206/0.3027, allocations: 4.75 MB / 0.5336 GB, free: 4.352 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches