Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008929, allocations: 93.27 kB / 17.35 MB, free: 6.375 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.000856/0.0008561, allocations: 175.4 kB / 18.25 MB, free: 5.523 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.507/1.507, allocations: 223.3 MB / 242.3 MB, free: 220 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.2572/0.2572, allocations: 44.25 MB / 337.7 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004329, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002403/0.1364, allocations: 1.348 MB / 473.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009533/0.1374, allocations: 439.2 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.1375, allocations: 0 / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1378, allocations: 75.83 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.138, allocations: 47.83 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1384, allocations: 165.7 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1386, allocations: 83.75 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1388, allocations: 23.98 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.08e-05/0.1388, allocations: 31.89 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1389, allocations: 43.78 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.139, allocations: 0 / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1391, allocations: 51.97 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.1392, allocations: 23.91 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.1392, allocations: 57.39 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1394, allocations: 108 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1394, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1394, allocations: 4 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1394, allocations: 3.938 kB / 474.7 MB, free: 10.87 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005258/0.14, allocations: 399.2 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.14, allocations: 12.03 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1401, allocations: 16.75 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1403, allocations: 204 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1403, allocations: 384 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1404, allocations: 16.31 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1405, allocations: 69.8 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.1406, allocations: 0 / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1406, allocations: 3.938 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1406, allocations: 0 / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1408, allocations: 55.95 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.1413, allocations: 324.6 kB / 475.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.1416, allocations: 70.55 kB / 475.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.1417, allocations: 28.97 kB / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1417, allocations: 0 / 475.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1418, allocations: 38.59 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1418, allocations: 0 / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001687/0.1435, allocations: 492.8 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.1435, allocations: 55.34 kB / 476.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1437, allocations: 211.3 kB / 476.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1438, allocations: 25.7 kB / 476.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1438, allocations: 108.1 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.1439, allocations: 35.45 kB / 476.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1439, allocations: 17.72 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1441, allocations: 322.8 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.1442, allocations: 59.95 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1444, allocations: 71.89 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1447, allocations: 141 kB / 477.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1447, allocations: 0 / 477.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003882/0.1451, allocations: 181.5 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1451, allocations: 4 kB / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1451, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1452, allocations: 0 / 477.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1453, allocations: 39.91 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.1453, allocations: 8.484 kB / 477.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.1454, allocations: 19.94 kB / 477.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1454, allocations: 0 / 477.7 MB, free: 7.664 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 (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 0.0001386/0.1455, allocations: 138.3 kB / 477.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.1456, allocations: 11.81 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.1461, allocations: 211 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1461, allocations: 3.938 kB / 478.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1461, allocations: 0 / 478.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1461, allocations: 4 kB / 478.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.147, allocations: 0.5116 MB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.147, allocations: 4 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1471, allocations: 35.92 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1471, allocations: 0 / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1472, allocations: 3.984 kB / 478.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1472, allocations: 4 kB / 478.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1472, allocations: 8 kB / 478.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.1476, allocations: 285 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1477, allocations: 92.91 kB / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1477, allocations: 4 kB / 479 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1478, allocations: 15.98 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.1479, allocations: 15.91 kB / 479 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1479, allocations: 12 kB / 479 MB, free: 6.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1481, allocations: 151.9 kB / 479.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 0 / 479.2 MB, free: 6.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1484, allocations: 24 kB / 479.2 MB, free: 6.035 MB / 350.1 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.001154/0.1495, allocations: 466.3 kB / 479.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.1499, allocations: 147.8 kB / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.15, allocations: 0 / 479.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1501, allocations: 75.89 kB / 479.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1505, allocations: 19.94 kB / 479.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.1511, allocations: 355.3 kB / 480.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1515, allocations: 0.7277 MB / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.1516, allocations: 32.38 kB / 481 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.1516, allocations: 15.44 kB / 481 MB, free: 4.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1516, allocations: 4 kB / 481 MB, free: 4.336 MB / 350.1 MB Notification: Performance of Templates: time 0.004696/0.1563, allocations: 1.494 MB / 482.5 MB, free: 2.852 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches