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.001207/0.001207, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 226.5 MB / 243.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007735/0.0007738, allocations: 92.78 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3256/0.3256, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3904, allocations: 62.97 MB / 0.5159 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002196/0.3926, allocations: 1.338 MB / 0.5172 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3943, allocations: 1.106 MB / 0.5183 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.3944, allocations: 0 / 0.5183 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3946, allocations: 23.84 kB / 0.5183 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3949, allocations: 66.44 kB / 0.5184 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.3952, allocations: 115.2 kB / 0.5185 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3954, allocations: 57.14 kB / 0.5185 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3955, allocations: 21.88 kB / 0.5185 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.346e-05/0.3956, allocations: 19.2 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3957, allocations: 34.05 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3957, allocations: 2.875 kB / 0.5186 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3959, allocations: 83.02 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.198e-05/0.396, allocations: 20.17 kB / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.396, allocations: 51.48 kB / 0.5187 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.3962, allocations: 106.1 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3963, allocations: 0 / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3963, allocations: 0 / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3963, allocations: 0 / 0.5188 GB, free: 35.02 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.0004846/0.3968, allocations: 392.1 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3968, allocations: 11.72 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3969, allocations: 7.844 kB / 0.5192 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.397, allocations: 201.7 kB / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3971, allocations: 8.375 kB / 0.5194 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3971, allocations: 3.906 kB / 0.5194 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3973, allocations: 74.8 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3973, allocations: 3.984 kB / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3973, allocations: 0 / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3974, allocations: 0 / 0.5195 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.3975, allocations: 54.88 kB / 0.5196 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.3979, allocations: 294.2 kB / 0.5198 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3981, allocations: 49.7 kB / 0.5199 GB, free: 33.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.355e-05/0.3981, allocations: 26.92 kB / 0.5199 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3982, allocations: 0 / 0.5199 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3982, allocations: 37.62 kB / 0.52 GB, free: 33.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3982, allocations: 0 / 0.52 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000882/0.3991, allocations: 241.6 kB / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.3992, allocations: 77.11 kB / 0.5203 GB, free: 33.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3993, allocations: 150.7 kB / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3993, allocations: 29.7 kB / 0.5204 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.3994, allocations: 94.62 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3994, allocations: 22.44 kB / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.3994, allocations: 0 / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.3995, allocations: 324.8 kB / 0.5209 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3996, allocations: 35.77 kB / 0.5209 GB, free: 33.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3998, allocations: 60.45 kB / 0.5209 GB, free: 33.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.4001, allocations: 92.02 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4001, allocations: 0 / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003372/0.4004, allocations: 122.4 kB / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4005, allocations: 5.5 kB / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4005, allocations: 0 / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4005, allocations: 0 / 0.5212 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.4007, allocations: 28.95 kB / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4007, allocations: 6.938 kB / 0.5212 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.4008, allocations: 24.22 kB / 0.5212 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.4008, allocations: 2.906 kB / 0.5212 GB, free: 33.05 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.977e-05/0.4009, allocations: 112.8 kB / 0.5213 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.4009, allocations: 9.812 kB / 0.5213 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.4013, allocations: 145.3 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4013, allocations: 2.969 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4013, allocations: 3.938 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4013, allocations: 3.938 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.402, allocations: 409.5 kB / 0.5219 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.402, allocations: 4 kB / 0.5219 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.4021, allocations: 20.36 kB / 0.5219 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4021, allocations: 6.844 kB / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4021, allocations: 3.938 kB / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.4021, allocations: 0 / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4021, allocations: 3.469 kB / 0.5219 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.4025, allocations: 227.7 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.4025, allocations: 87.33 kB / 0.5222 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.4026, allocations: 7.875 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.4027, allocations: 19.69 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.4028, allocations: 6 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.4028, allocations: 2.781 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.61e-05/0.4029, allocations: 112.2 kB / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4029, allocations: 0 / 0.5223 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004326/0.4033, allocations: 42.08 kB / 0.5224 GB, free: 32.13 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.001329/0.4047, allocations: 484.6 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.4051, allocations: 94.28 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4051, allocations: 0 / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4052, allocations: 55.05 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.4057, allocations: 16.03 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.4062, allocations: 222 kB / 0.5232 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.4063, allocations: 0.6952 MB / 0.5239 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.4064, allocations: 16.28 kB / 0.5239 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4064, allocations: 0 / 0.5239 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004237/0.4106, allocations: 2.068 MB / 0.5259 GB, free: 30.72 MB / 378.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