Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009609, allocations: 93.52 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 186.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 241.9 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1943/0.1943, allocations: 44.26 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 19.94 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00232/0.1418, allocations: 1.306 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000932/0.1428, allocations: 387.6 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.1429, allocations: 0 / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.1436, allocations: 439.2 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.144, allocations: 239.6 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1446, allocations: 118.7 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000359/0.1449, allocations: 127.7 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1451, allocations: 12.19 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.1453, allocations: 103.7 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1456, allocations: 159.7 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1457, allocations: 4 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1458, allocations: 31.97 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1459, allocations: 75.75 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.146, allocations: 73.45 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.1464, allocations: 179.7 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1464, allocations: 0 / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1464, allocations: 0 / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1464, allocations: 0 / 474.8 MB, free: 10.46 MB / 350.1 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.001168/0.1476, allocations: 0.5952 MB / 475.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.1476, allocations: 8.562 kB / 475.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.1478, allocations: 39.53 kB / 475.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.1482, allocations: 267.3 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1482, allocations: 8 kB / 475.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1483, allocations: 7.984 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1485, allocations: 57.58 kB / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1485, allocations: 0 / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1485, allocations: 0 / 475.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1486, allocations: 4 kB / 475.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1487, allocations: 27.97 kB / 475.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.1495, allocations: 388.7 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1499, allocations: 46.5 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.15, allocations: 16.86 kB / 476.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.15, allocations: 0 / 476.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.1501, allocations: 42.64 kB / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1501, allocations: 0 / 476.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008103/0.1509, allocations: 232.1 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.151, allocations: 51.41 kB / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.1522, allocations: 0.869 MB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1523, allocations: 25.7 kB / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.1525, allocations: 216.1 kB / 477.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.1526, allocations: 11.81 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1526, allocations: 3.938 kB / 477.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002734/0.1529, allocations: 370.7 kB / 478.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.153, allocations: 19.98 kB / 478.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.548e-05/0.153, allocations: 23.98 kB / 478.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.1531, allocations: 23.98 kB / 478.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1531, allocations: 7.938 kB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003055/0.1535, allocations: 121 kB / 478.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.1535, allocations: 4 kB / 478.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1535, allocations: 4 kB / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.1536, allocations: 0 / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.1536, allocations: 15.98 kB / 478.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.1537, allocations: 4 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.1538, allocations: 8.25 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1538, allocations: 0 / 478.3 MB, free: 6.762 MB / 350.1 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 (5): * Single equations (assignments): 5 * 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.0003109/0.1541, allocations: 213.7 kB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.1542, allocations: 39.53 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.1545, allocations: 149 kB / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1546, allocations: 0 / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1546, allocations: 0 / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1546, allocations: 0 / 478.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.1553, allocations: 474.3 kB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1553, allocations: 0 / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.1553, allocations: 15.98 kB / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1553, allocations: 0 / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1554, allocations: 0 / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1554, allocations: 0 / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1554, allocations: 0 / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1556, allocations: 223 kB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.1557, allocations: 112.5 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.1558, allocations: 4 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.1558, allocations: 7.984 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1559, allocations: 4.281 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1559, allocations: 4 kB / 479.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007944/0.1567, allocations: 0.6511 MB / 480.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1567, allocations: 3.938 kB / 480.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.157, allocations: 20 kB / 480.2 MB, free: 4.758 MB / 350.1 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 (5): * Single equations (assignments): 5 * 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.001096/0.1581, allocations: 422.1 kB / 480.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.1584, allocations: 55.97 kB / 480.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1584, allocations: 0 / 480.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.1585, allocations: 31.92 kB / 480.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.1589, allocations: 25.91 kB / 480.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1602, allocations: 0.8256 MB / 481.5 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.1607, allocations: 0.8185 MB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.009e-05/0.1608, allocations: 11.97 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.1608, allocations: 15.38 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1608, allocations: 0 / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of Templates: time 0.005207/0.166, allocations: 1.319 MB / 483.7 MB, free: 1.352 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches