Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009145/0.0009145, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007244/0.0007244, allocations: 97.97 kB / 295.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 44.83 MB / 392 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002802, allocations: 11.98 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08724, allocations: 62.96 MB / 0.5153 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.001459/0.08873, allocations: 1.347 MB / 0.5166 GB, free: 3.738 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.08979, allocations: 1.078 MB / 0.5177 GB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.08985, allocations: 4 kB / 0.5177 GB, free: 2.648 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.09001, allocations: 19.91 kB / 0.5177 GB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.09019, allocations: 67.77 kB / 0.5178 GB, free: 2.562 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.09044, allocations: 115.7 kB / 0.5179 GB, free: 2.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.09054, allocations: 51.84 kB / 0.5179 GB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.723e-05/0.09062, allocations: 19.98 kB / 0.518 GB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.09067, allocations: 27.8 kB / 0.518 GB, free: 2.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.09079, allocations: 31.84 kB / 0.518 GB, free: 2.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.09081, allocations: 0 / 0.518 GB, free: 2.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.09094, allocations: 87.88 kB / 0.5181 GB, free: 2.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.09098, allocations: 11.98 kB / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.091, allocations: 33.64 kB / 0.5181 GB, free: 2.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.09115, allocations: 103.8 kB / 0.5182 GB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.09116, allocations: 0 / 0.5182 GB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09117, allocations: 3.984 kB / 0.5182 GB, free: 2.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.09118, allocations: 4 kB / 0.5183 GB, free: 2.074 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.0003657/0.09155, allocations: 399.4 kB / 0.5186 GB, free: 1.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.09158, allocations: 8.031 kB / 0.5186 GB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.09162, allocations: 7.906 kB / 0.5186 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.09177, allocations: 194.8 kB / 0.5188 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.09178, allocations: 0 / 0.5188 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.09181, allocations: 8 kB / 0.5188 GB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.09196, allocations: 75.39 kB / 0.5189 GB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.09198, allocations: 3.938 kB / 0.5189 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.092, allocations: 0 / 0.5189 GB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.09201, allocations: 4 kB / 0.5189 GB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.09213, allocations: 43.97 kB / 0.519 GB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.0924, allocations: 296.8 kB / 0.5192 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.09251, allocations: 46.55 kB / 0.5193 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.09258, allocations: 32.94 kB / 0.5193 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.0926, allocations: 0 / 0.5193 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.09262, allocations: 30.56 kB / 0.5194 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.09263, allocations: 0 / 0.5194 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006697/0.0933, allocations: 245.2 kB / 0.5196 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.09334, allocations: 81.06 kB / 0.5197 GB, free: 444 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.09345, allocations: 148.1 kB / 0.5198 GB, free: 288 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.09347, allocations: 25.7 kB / 0.5198 GB, free: 256 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.0935, allocations: 100 kB / 0.5199 GB, free: 152 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.09352, allocations: 27.66 kB / 0.52 GB, free: 124 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.09353, allocations: 0 / 0.52 GB, free: 124 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.09365, allocations: 318.8 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.09376, allocations: 39.97 kB / 0.5203 GB, free: 15.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.0939, allocations: 61.75 kB / 0.5204 GB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.09402, allocations: 39.97 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.09403, allocations: 0 / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002673/0.0943, allocations: 125.7 kB / 0.5205 GB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.09433, allocations: 4 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.09434, allocations: 7.984 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.09436, allocations: 7.938 kB / 0.5205 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.09448, allocations: 23.92 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.09449, allocations: 4 kB / 0.5206 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.09456, allocations: 15.94 kB / 0.5206 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.09458, allocations: 0 / 0.5206 GB, free: 15.46 MB / 362.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 8.849e-05/0.09467, allocations: 125.8 kB / 0.5207 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.09471, allocations: 7.906 kB / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.09503, allocations: 134.3 kB / 0.5208 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.09505, allocations: 7.938 kB / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.09506, allocations: 0 / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.09507, allocations: 0 / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.09558, allocations: 414.4 kB / 0.5212 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0956, allocations: 4 kB / 0.5212 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.09568, allocations: 19.98 kB / 0.5213 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.09569, allocations: 4 kB / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.0957, allocations: 0 / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.09571, allocations: 0 / 0.5213 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.09572, allocations: 11.89 kB / 0.5213 GB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.09603, allocations: 219.8 kB / 0.5215 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.09608, allocations: 93 kB / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.0961, allocations: 0 / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.0962, allocations: 15.98 kB / 0.5216 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.09625, allocations: 11.94 kB / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.09626, allocations: 4 kB / 0.5216 GB, free: 14.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.09635, allocations: 105.3 kB / 0.5217 GB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09636, allocations: 4 kB / 0.5217 GB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.09661, allocations: 47.98 kB / 0.5217 GB, free: 14.16 MB / 362.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.0009378/0.09755, allocations: 491.9 kB / 0.5222 GB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.09785, allocations: 95.88 kB / 0.5223 GB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.09786, allocations: 0 / 0.5223 GB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.09799, allocations: 51.97 kB / 0.5224 GB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.09828, allocations: 11.11 kB / 0.5224 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.09866, allocations: 234.7 kB / 0.5226 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.09894, allocations: 0.6926 MB / 0.5233 GB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.099, allocations: 19.42 kB / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.09901, allocations: 4 kB / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003547/0.1026, allocations: 2.065 MB / 0.5253 GB, free: 10.61 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches