Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009285/0.0009286, allocations: 198.8 kB / 15.8 MB, free: 6.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.6 MB / 243.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007094/0.0007094, allocations: 89.5 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.1859/0.1859, allocations: 44.83 MB / 392 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002316, allocations: 4 kB / 464.7 MB, free: 49.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09019, allocations: 62.96 MB / 0.5153 GB, free: 2.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001705/0.09195, allocations: 1.308 MB / 0.5166 GB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007225/0.09269, allocations: 491.2 kB / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.09275, allocations: 0 / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.09322, allocations: 443.2 kB / 0.5175 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.09356, allocations: 275.4 kB / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.09384, allocations: 111 kB / 0.5179 GB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.179/0.2729, allocations: 132.3 kB / 0.518 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.2731, allocations: 4.781 kB / 0.518 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.2733, allocations: 100.4 kB / 0.5181 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.2736, allocations: 171.6 kB / 0.5183 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2736, allocations: 1.812 kB / 0.5183 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.2737, allocations: 20.72 kB / 0.5183 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.2738, allocations: 82.77 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.2739, allocations: 64.33 kB / 0.5184 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2741, allocations: 181.4 kB / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2741, allocations: 0 / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2741, allocations: 4.125 kB / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2741, allocations: 0 / 0.5186 GB, free: 10.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005604/0.2747, allocations: 0.5938 MB / 0.5192 GB, free: 9.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2748, allocations: 8.469 kB / 0.5192 GB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.2748, allocations: 44.48 kB / 0.5192 GB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2751, allocations: 277.1 kB / 0.5195 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2751, allocations: 2.375 kB / 0.5195 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.2751, allocations: 2.219 kB / 0.5195 GB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.2753, allocations: 53.52 kB / 0.5195 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2753, allocations: 4.359 kB / 0.5195 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2753, allocations: 2.656 kB / 0.5195 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2753, allocations: 1.062 kB / 0.5196 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2755, allocations: 42.06 kB / 0.5196 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.2759, allocations: 376.6 kB / 0.52 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.2761, allocations: 46.03 kB / 0.52 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.227e-05/0.2761, allocations: 28.34 kB / 0.52 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.2762, allocations: 1.812 kB / 0.52 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2762, allocations: 35.39 kB / 0.5201 GB, free: 9.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2762, allocations: 1.062 kB / 0.5201 GB, free: 9.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003281/0.2765, allocations: 128.1 kB / 0.5202 GB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.2766, allocations: 55.88 kB / 0.5202 GB, free: 8.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.2775, allocations: 0.8664 MB / 0.5211 GB, free: 8.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.2775, allocations: 25.7 kB / 0.5211 GB, free: 8.785 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2776, allocations: 216.3 kB / 0.5213 GB, free: 8.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.2776, allocations: 13.77 kB / 0.5213 GB, free: 8.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.2776, allocations: 0 / 0.5213 GB, free: 8.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.2777, allocations: 361.8 kB / 0.5217 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.2778, allocations: 19.28 kB / 0.5217 GB, free: 8.375 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.2779, allocations: 21.2 kB / 0.5217 GB, free: 8.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.379e-05/0.278, allocations: 27.78 kB / 0.5217 GB, free: 8.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.278, allocations: 0 / 0.5217 GB, free: 8.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001993/0.2782, allocations: 112.5 kB / 0.5218 GB, free: 8.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2782, allocations: 5.562 kB / 0.5218 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2782, allocations: 1.422 kB / 0.5218 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2782, allocations: 8.719 kB / 0.5219 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.2783, allocations: 10 kB / 0.5219 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2783, allocations: 0.6094 kB / 0.5219 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.2784, allocations: 10.61 kB / 0.5219 GB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2784, allocations: 1.984 kB / 0.5219 GB, free: 8.309 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 (3): * Single equations (assignments): 3 * 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.0001576/0.2785, allocations: 213.9 kB / 0.5221 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.2786, allocations: 38.05 kB / 0.5221 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.2789, allocations: 134.2 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2789, allocations: 1.375 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2789, allocations: 0.5469 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2789, allocations: 0.5625 kB / 0.5222 GB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2792, allocations: 291.9 kB / 0.5225 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2792, allocations: 0 / 0.5225 GB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.2793, allocations: 15.02 kB / 0.5225 GB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2793, allocations: 5.031 kB / 0.5225 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-06/0.2793, allocations: 0 / 0.5225 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2793, allocations: 1.844 kB / 0.5225 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2793, allocations: 0 / 0.5225 GB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.2796, allocations: 212.9 kB / 0.5228 GB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.2796, allocations: 115.8 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2796, allocations: 1.953 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.2797, allocations: 6.172 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.2798, allocations: 2.734 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2798, allocations: 2.016 kB / 0.5229 GB, free: 7.645 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000594/0.2804, allocations: 0.6511 MB / 0.5235 GB, free: 7.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2804, allocations: 4 kB / 0.5235 GB, free: 7.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.2806, allocations: 24.38 kB / 0.5235 GB, free: 7.551 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 (3): * Single equations (assignments): 3 * 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.000634/0.2813, allocations: 338.3 kB / 0.5239 GB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.2815, allocations: 46.25 kB / 0.5239 GB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2815, allocations: 0 / 0.5239 GB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.2815, allocations: 25.75 kB / 0.5239 GB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.2819, allocations: 34.31 kB / 0.524 GB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.2829, allocations: 0.846 MB / 0.5248 GB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2832, allocations: 0.8181 MB / 0.5256 GB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.2833, allocations: 11.44 kB / 0.5256 GB, free: 6.305 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2833, allocations: 1.469 kB / 0.5256 GB, free: 6.305 MB / 346.7 MB Notification: Performance of Templates: time 0.006727/0.29, allocations: 3.459 MB / 0.529 GB, free: 5.566 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches