Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 199.2 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 226.5 MB / 243.4 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008131/0.000813, allocations: 96.48 kB / 295.5 MB, free: 6.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3097/0.3097, allocations: 44.81 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003003, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2756, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.001587/0.2773, allocations: 1.346 MB / 0.5172 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2785, allocations: 1.128 MB / 0.5183 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.2786, allocations: 3.531 kB / 0.5183 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.2788, allocations: 21.47 kB / 0.5183 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.279, allocations: 66.39 kB / 0.5184 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.2793, allocations: 155.2 kB / 0.5185 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2795, allocations: 69.42 kB / 0.5186 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2796, allocations: 20.78 kB / 0.5186 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.2796, allocations: 20.03 kB / 0.5186 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2797, allocations: 34.61 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.2798, allocations: 6.969 kB / 0.5187 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2799, allocations: 84.83 kB / 0.5188 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.28, allocations: 17.12 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.28, allocations: 44.45 kB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.2802, allocations: 103.8 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2802, allocations: 6.719 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2802, allocations: 3.938 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.2802, allocations: 0 / 0.5189 GB, free: 34.95 MB / 378.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.0004064/0.2806, allocations: 402.8 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2807, allocations: 10.25 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2807, allocations: 7.75 kB / 0.5193 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.2809, allocations: 201.7 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2809, allocations: 3.375 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2809, allocations: 7.219 kB / 0.5195 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.2811, allocations: 88.72 kB / 0.5196 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2811, allocations: 4 kB / 0.5196 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2811, allocations: 4 kB / 0.5196 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2811, allocations: 0 / 0.5196 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2812, allocations: 43.09 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.2816, allocations: 316.4 kB / 0.52 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2817, allocations: 53.77 kB / 0.52 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.2818, allocations: 33.72 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2818, allocations: 0 / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.2818, allocations: 34.03 kB / 0.5201 GB, free: 33.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2818, allocations: 0 / 0.5201 GB, free: 33.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007074/0.2826, allocations: 264.2 kB / 0.5203 GB, free: 33.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2826, allocations: 77.11 kB / 0.5204 GB, free: 33.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2827, allocations: 146.5 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.2827, allocations: 28.48 kB / 0.5206 GB, free: 33.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.2828, allocations: 98.23 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.2828, allocations: 25.39 kB / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.2828, allocations: 0 / 0.5207 GB, free: 33.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.2829, allocations: 325 kB / 0.521 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.283, allocations: 42.81 kB / 0.521 GB, free: 33.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2831, allocations: 62.06 kB / 0.5211 GB, free: 33.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2833, allocations: 102.9 kB / 0.5212 GB, free: 33.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2833, allocations: 4 kB / 0.5212 GB, free: 33.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002596/0.2836, allocations: 143.2 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2836, allocations: 6.781 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2836, allocations: 3.031 kB / 0.5213 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2836, allocations: 3.984 kB / 0.5213 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2838, allocations: 24.2 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2838, allocations: 0 / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.2838, allocations: 19.28 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2839, allocations: 0 / 0.5214 GB, free: 32.96 MB / 378.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 (7): * Single equations (assignments): 7 * 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.582e-05/0.2839, allocations: 123.8 kB / 0.5215 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.284, allocations: 13.56 kB / 0.5215 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.2843, allocations: 161.8 kB / 0.5217 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2843, allocations: 0 / 0.5217 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2843, allocations: 3.938 kB / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2843, allocations: 3.938 kB / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2848, allocations: 428.5 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2848, allocations: 0 / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.2849, allocations: 27.48 kB / 0.5221 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2849, allocations: 0 / 0.5221 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2849, allocations: 7.938 kB / 0.5221 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2849, allocations: 3.031 kB / 0.5221 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2849, allocations: 0 / 0.5221 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.2852, allocations: 232.9 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.2852, allocations: 91.16 kB / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.2853, allocations: 10.91 kB / 0.5224 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.2853, allocations: 11.92 kB / 0.5225 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.2854, allocations: 10.38 kB / 0.5225 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2854, allocations: 3 kB / 0.5225 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.2855, allocations: 118.7 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2855, allocations: 0 / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.2857, allocations: 41.45 kB / 0.5226 GB, free: 32.02 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0008864/0.2866, allocations: 486.7 kB / 0.5231 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.2869, allocations: 105.5 kB / 0.5232 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2869, allocations: 0 / 0.5232 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.2871, allocations: 58.55 kB / 0.5232 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.2874, allocations: 20.41 kB / 0.5233 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.2877, allocations: 237.2 kB / 0.5235 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2879, allocations: 0.7041 MB / 0.5242 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.2879, allocations: 19.64 kB / 0.5242 GB, free: 30.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2879, allocations: 0 / 0.5242 GB, free: 30.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003339/0.2913, allocations: 2.16 MB / 0.5263 GB, free: 30.59 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches