Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001517, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007046/0.0007043, allocations: 95.56 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2804/0.2804, allocations: 45.01 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2648, allocations: 63.1 MB / 0.5214 GB, free: 38.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001592/0.2665, allocations: 1.372 MB / 0.5227 GB, free: 37.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.2673, allocations: 0.7444 MB / 0.5234 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.2674, allocations: 3.938 kB / 0.5234 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.2676, allocations: 67.95 kB / 0.5235 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.2678, allocations: 90.17 kB / 0.5236 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2681, allocations: 114.3 kB / 0.5237 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.2682, allocations: 83.28 kB / 0.5238 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.2683, allocations: 21.47 kB / 0.5238 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.2684, allocations: 28.81 kB / 0.5238 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.058e-05/0.2685, allocations: 55.45 kB / 0.5239 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.2685, allocations: 0 / 0.5239 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.2686, allocations: 44.81 kB / 0.5239 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.2687, allocations: 24.2 kB / 0.5239 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.2687, allocations: 62.05 kB / 0.524 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2688, allocations: 104.2 kB / 0.5241 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2689, allocations: 2.781 kB / 0.5241 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2689, allocations: 0 / 0.5241 GB, free: 36.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.2689, allocations: 0 / 0.5241 GB, free: 36.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003581/0.2692, allocations: 409.7 kB / 0.5245 GB, free: 36.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2693, allocations: 8.844 kB / 0.5245 GB, free: 36.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.2693, allocations: 18.38 kB / 0.5245 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2694, allocations: 201.9 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.2695, allocations: 2.969 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.2695, allocations: 7.062 kB / 0.5247 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2696, allocations: 65.8 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2696, allocations: 0 / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2697, allocations: 0 / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.2697, allocations: 2.469 kB / 0.5248 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2698, allocations: 53.62 kB / 0.5248 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.2701, allocations: 312.2 kB / 0.5251 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2704, allocations: 63.84 kB / 0.5252 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.2705, allocations: 27.81 kB / 0.5252 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.2706, allocations: 2.875 kB / 0.5252 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.2706, allocations: 37.94 kB / 0.5253 GB, free: 35.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.2706, allocations: 0 / 0.5253 GB, free: 35.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001303/0.2719, allocations: 466.5 kB / 0.5257 GB, free: 35.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2719, allocations: 55.34 kB / 0.5258 GB, free: 35.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2721, allocations: 210.7 kB / 0.526 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.2721, allocations: 33.64 kB / 0.526 GB, free: 35.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.2722, allocations: 113.9 kB / 0.5261 GB, free: 35.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2722, allocations: 29.81 kB / 0.5261 GB, free: 35.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2722, allocations: 2.906 kB / 0.5261 GB, free: 35.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.2722, allocations: 324.4 kB / 0.5264 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.2724, allocations: 50.23 kB / 0.5265 GB, free: 34.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.2725, allocations: 57.22 kB / 0.5266 GB, free: 34.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.2727, allocations: 116.8 kB / 0.5267 GB, free: 34.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2727, allocations: 0 / 0.5267 GB, free: 34.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002576/0.273, allocations: 160.7 kB / 0.5268 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.273, allocations: 5.156 kB / 0.5268 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.273, allocations: 0 / 0.5268 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.273, allocations: 0 / 0.5268 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2731, allocations: 47.36 kB / 0.5269 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2731, allocations: 0 / 0.5269 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.2732, allocations: 12.36 kB / 0.5269 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-06/0.2732, allocations: 3.25 kB / 0.5269 GB, free: 34.63 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/0.2733, allocations: 130.2 kB / 0.527 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.2733, allocations: 17.84 kB / 0.527 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.2736, allocations: 175.5 kB / 0.5272 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2736, allocations: 7.938 kB / 0.5272 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2737, allocations: 3.938 kB / 0.5272 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2737, allocations: 2.75 kB / 0.5272 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.2742, allocations: 482.4 kB / 0.5277 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2742, allocations: 2.844 kB / 0.5277 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.2743, allocations: 37.89 kB / 0.5277 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2743, allocations: 3.984 kB / 0.5277 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2743, allocations: 6.938 kB / 0.5277 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2743, allocations: 0 / 0.5277 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2743, allocations: 2.812 kB / 0.5277 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2746, allocations: 277.1 kB / 0.528 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.2746, allocations: 87.83 kB / 0.5281 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.2747, allocations: 6.656 kB / 0.5281 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.2747, allocations: 16.94 kB / 0.5281 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.2748, allocations: 9.578 kB / 0.5281 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2748, allocations: 14.14 kB / 0.5281 GB, free: 33.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.2749, allocations: 158.1 kB / 0.5283 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2749, allocations: 0 / 0.5283 GB, free: 33.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002219/0.2751, allocations: 30.66 kB / 0.5283 GB, free: 33.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008922/0.276, allocations: 0.51 MB / 0.5288 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.2763, allocations: 123.7 kB / 0.5289 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2763, allocations: 2.75 kB / 0.5289 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2764, allocations: 66.11 kB / 0.529 GB, free: 33.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2768, allocations: 31.17 kB / 0.529 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.2772, allocations: 339.1 kB / 0.5293 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2773, allocations: 0.7112 MB / 0.53 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.2773, allocations: 17.33 kB / 0.53 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.2774, allocations: 16.94 kB / 0.53 GB, free: 32.27 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.2774, allocations: 0 / 0.53 GB, free: 32.27 MB / 378.7 MB Notification: Performance of Templates: time 0.003136/0.2805, allocations: 1.443 MB / 0.5315 GB, free: 32.12 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches