Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009579/0.0009581, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007266/0.0007266, allocations: 94.92 kB / 295.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2002/0.2002, allocations: 44.83 MB / 392 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002429, allocations: 8 kB / 464.7 MB, free: 68.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09349, allocations: 62.95 MB / 0.5153 GB, free: 5.141 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001623/0.09515, allocations: 1.343 MB / 0.5166 GB, free: 3.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.0964, allocations: 1.086 MB / 0.5177 GB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.09649, allocations: 0 / 0.5177 GB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.09667, allocations: 23.86 kB / 0.5177 GB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.09693, allocations: 63.75 kB / 0.5178 GB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.09723, allocations: 111.8 kB / 0.5179 GB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.09735, allocations: 63.83 kB / 0.518 GB, free: 2.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.09744, allocations: 15.97 kB / 0.518 GB, free: 2.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.09749, allocations: 23.86 kB / 0.518 GB, free: 2.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.09762, allocations: 31.83 kB / 0.518 GB, free: 2.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.09764, allocations: 4 kB / 0.518 GB, free: 2.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.09779, allocations: 79.91 kB / 0.5181 GB, free: 2.273 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.09784, allocations: 15.97 kB / 0.5181 GB, free: 2.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.09786, allocations: 41.64 kB / 0.5182 GB, free: 2.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.09803, allocations: 103.8 kB / 0.5183 GB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.09804, allocations: 0 / 0.5183 GB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09805, allocations: 0 / 0.5183 GB, free: 2.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.09806, allocations: 0 / 0.5183 GB, free: 2.109 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.0003973/0.09846, allocations: 395.4 kB / 0.5186 GB, free: 1.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.0985, allocations: 12.03 kB / 0.5186 GB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.09855, allocations: 7.906 kB / 0.5186 GB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.09871, allocations: 205.5 kB / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.09873, allocations: 0 / 0.5188 GB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.09876, allocations: 4 kB / 0.5188 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.09891, allocations: 79.31 kB / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.09893, allocations: 0 / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.09895, allocations: 0 / 0.5189 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.09896, allocations: 4 kB / 0.5189 GB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.09908, allocations: 43.97 kB / 0.519 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.09937, allocations: 288.8 kB / 0.5192 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.0995, allocations: 54.55 kB / 0.5193 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.09958, allocations: 24.94 kB / 0.5193 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.09961, allocations: 0 / 0.5193 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.09963, allocations: 34.56 kB / 0.5194 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.09963, allocations: 4 kB / 0.5194 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006852/0.1003, allocations: 233.2 kB / 0.5196 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1004, allocations: 89.03 kB / 0.5197 GB, free: 480 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1005, allocations: 146 kB / 0.5198 GB, free: 324 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1005, allocations: 29.7 kB / 0.5198 GB, free: 288 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.1005, allocations: 95.98 kB / 0.5199 GB, free: 188 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1006, allocations: 23.64 kB / 0.5199 GB, free: 164 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.1006, allocations: 0 / 0.5199 GB, free: 164 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.1007, allocations: 322.8 kB / 0.5203 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1008, allocations: 39.98 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1009, allocations: 57.73 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1011, allocations: 47.95 kB / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1011, allocations: 0 / 0.5204 GB, free: 15.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002777/0.1013, allocations: 129.5 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1014, allocations: 4 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1014, allocations: 0 / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1014, allocations: 0 / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1015, allocations: 27.92 kB / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1015, allocations: 0 / 0.5205 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.03e-05/0.1016, allocations: 23.94 kB / 0.5206 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1016, allocations: 0 / 0.5206 GB, free: 15.5 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.187e-05/0.1017, allocations: 113.8 kB / 0.5207 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1017, allocations: 11.89 kB / 0.5207 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1021, allocations: 142.3 kB / 0.5208 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1021, allocations: 0 / 0.5208 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1021, allocations: 4 kB / 0.5208 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1021, allocations: 3.938 kB / 0.5208 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.1026, allocations: 406.4 kB / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1026, allocations: 0 / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.1027, allocations: 27.98 kB / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1027, allocations: 288 / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1027, allocations: 4 kB / 0.5213 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1028, allocations: 4 kB / 0.5213 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1028, allocations: 3.953 kB / 0.5213 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1031, allocations: 235.7 kB / 0.5215 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1031, allocations: 89 kB / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1032, allocations: 4 kB / 0.5216 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.1033, allocations: 11.98 kB / 0.5216 GB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1033, allocations: 11.95 kB / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1033, allocations: 3.984 kB / 0.5216 GB, free: 14.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.1034, allocations: 112.8 kB / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1034, allocations: 0 / 0.5217 GB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.1037, allocations: 43.98 kB / 0.5217 GB, free: 14.19 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.0009689/0.1047, allocations: 496.7 kB / 0.5222 GB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.105, allocations: 95.88 kB / 0.5223 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.105, allocations: 0 / 0.5223 GB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1051, allocations: 47.97 kB / 0.5224 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1054, allocations: 23.66 kB / 0.5224 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.1058, allocations: 222.7 kB / 0.5226 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.106, allocations: 0.6965 MB / 0.5233 GB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1061, allocations: 15.44 kB / 0.5233 GB, free: 12.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1061, allocations: 0 / 0.5233 GB, free: 12.71 MB / 362.7 MB Notification: Performance of Templates: time 0.003886/0.11, allocations: 2.061 MB / 0.5253 GB, free: 10.65 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches