Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 198.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.288/1.288, allocations: 226.6 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.0008651/0.0008651, allocations: 100.8 kB / 295.1 MB, free: 4.426 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1778/0.1778, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002566, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09176, allocations: 62.96 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001565/0.09337, allocations: 1.311 MB / 0.5166 GB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000732/0.09413, allocations: 0.5032 MB / 0.5171 GB, free: 3.285 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.09423, allocations: 0 / 0.5171 GB, free: 3.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.09468, allocations: 447.1 kB / 0.5175 GB, free: 2.848 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.09502, allocations: 271.5 kB / 0.5178 GB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.09541, allocations: 155.1 kB / 0.5179 GB, free: 2.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.0956, allocations: 139.6 kB / 0.5181 GB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.0957, allocations: 11.98 kB / 0.5181 GB, free: 2.285 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.09581, allocations: 103.8 kB / 0.5182 GB, free: 2.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.09598, allocations: 179.6 kB / 0.5183 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.096, allocations: 0 / 0.5183 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.781e-05/0.09608, allocations: 12 kB / 0.5184 GB, free: 1.996 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.09616, allocations: 83.75 kB / 0.5184 GB, free: 1.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.0962, allocations: 69.45 kB / 0.5185 GB, free: 1.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.09636, allocations: 179.7 kB / 0.5187 GB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.09637, allocations: 0 / 0.5187 GB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09638, allocations: 0 / 0.5187 GB, free: 1.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.09639, allocations: 0 / 0.5187 GB, free: 1.664 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.0005485/0.09694, allocations: 0.6068 MB / 0.5193 GB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.09699, allocations: 12.03 kB / 0.5193 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.09705, allocations: 39.44 kB / 0.5193 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.09727, allocations: 283.2 kB / 0.5196 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.09729, allocations: 0 / 0.5196 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.0973, allocations: 4 kB / 0.5196 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.09746, allocations: 65.61 kB / 0.5197 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.09748, allocations: 3.984 kB / 0.5197 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.09749, allocations: 0 / 0.5197 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.0975, allocations: 0 / 0.5197 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.09762, allocations: 39.97 kB / 0.5197 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.09804, allocations: 400.8 kB / 0.5201 GB, free: 84 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.09815, allocations: 50.5 kB / 0.5201 GB, free: 24 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.09825, allocations: 32.98 kB / 0.5202 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.09829, allocations: 0 / 0.5202 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.09832, allocations: 34.5 kB / 0.5202 GB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.09832, allocations: 0 / 0.5202 GB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003584/0.09869, allocations: 141.1 kB / 0.5203 GB, free: 15.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.09874, allocations: 55.34 kB / 0.5204 GB, free: 15.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.0995, allocations: 0.8652 MB / 0.5212 GB, free: 14.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.09953, allocations: 25.7 kB / 0.5212 GB, free: 14.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.09968, allocations: 216.1 kB / 0.5215 GB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.09971, allocations: 3.906 kB / 0.5215 GB, free: 14.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.09971, allocations: 0 / 0.5215 GB, free: 14.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.09986, allocations: 374.7 kB / 0.5218 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.09993, allocations: 19.92 kB / 0.5218 GB, free: 14.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.1, allocations: 23.98 kB / 0.5219 GB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.1001, allocations: 19.98 kB / 0.5219 GB, free: 14.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1001, allocations: 4 kB / 0.5219 GB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002008/0.1003, allocations: 121.1 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1003, allocations: 4 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1003, allocations: 3.984 kB / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1004, allocations: 0 / 0.522 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.1004, allocations: 15.94 kB / 0.522 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1004, allocations: 7.938 kB / 0.522 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.1005, allocations: 11.92 kB / 0.522 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1005, allocations: 0 / 0.522 GB, free: 14 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 (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.00017/0.1007, allocations: 213.7 kB / 0.5222 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.1008, allocations: 43.44 kB / 0.5223 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.101, allocations: 133 kB / 0.5224 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.101, allocations: 0 / 0.5224 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.101, allocations: 0 / 0.5224 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.101, allocations: 0 / 0.5224 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.1013, allocations: 293.5 kB / 0.5227 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1013, allocations: 4 kB / 0.5227 GB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.1014, allocations: 8 kB / 0.5227 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1014, allocations: 0 / 0.5227 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1014, allocations: 4.375 kB / 0.5227 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1014, allocations: 7.922 kB / 0.5227 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1014, allocations: 0 / 0.5227 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1017, allocations: 218.9 kB / 0.5229 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.1017, allocations: 108.6 kB / 0.523 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1018, allocations: 8 kB / 0.523 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.1018, allocations: 4 kB / 0.523 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1019, allocations: 3.984 kB / 0.523 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1019, allocations: 4 kB / 0.523 GB, free: 12.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005534/0.1025, allocations: 0.655 MB / 0.5237 GB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1025, allocations: 0 / 0.5237 GB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.1027, allocations: 16 kB / 0.5237 GB, free: 12.2 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 (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.0006877/0.1034, allocations: 354.5 kB / 0.524 GB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1036, allocations: 55.91 kB / 0.5241 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1036, allocations: 0 / 0.5241 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1037, allocations: 23.98 kB / 0.5241 GB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.104, allocations: 30.25 kB / 0.5241 GB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.105, allocations: 0.8584 MB / 0.525 GB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1054, allocations: 0.8185 MB / 0.5258 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1055, allocations: 15.42 kB / 0.5258 GB, free: 10.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1055, allocations: 0 / 0.5258 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006202/0.1117, allocations: 3.537 MB / 0.5292 GB, free: 6.566 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches