Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001232, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001092/0.001092, allocations: 187 kB / 19.34 MB, free: 3.641 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.482/1.482, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2592/0.2592, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 74.7 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1367, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.004092/0.1408, allocations: 1.571 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1419, allocations: 439.1 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.142, allocations: 0 / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007465/0.1427, allocations: 447.1 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.1432, allocations: 255.5 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1437, allocations: 162.6 kB / 473.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.144, allocations: 159.7 kB / 473.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1441, allocations: 19.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1443, allocations: 103.8 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.1445, allocations: 211.6 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1446, allocations: 0 / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.1446, allocations: 31.98 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.1447, allocations: 71.7 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1449, allocations: 99.05 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1452, allocations: 243 kB / 474.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1452, allocations: 4 kB / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1452, allocations: 0 / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1452, allocations: 3.938 kB / 474.5 MB, free: 9.879 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007031/0.1459, allocations: 0.618 MB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.146, allocations: 8.031 kB / 475.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.146, allocations: 44.38 kB / 475.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1463, allocations: 296.2 kB / 475.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1464, allocations: 4.312 kB / 475.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1464, allocations: 12.31 kB / 475.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1466, allocations: 53.81 kB / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1466, allocations: 0 / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1466, allocations: 0 / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1466, allocations: 0 / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.1467, allocations: 27.92 kB / 475.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.1474, allocations: 384.7 kB / 475.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.1475, allocations: 34.56 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.1476, allocations: 16.91 kB / 476 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1476, allocations: 3.984 kB / 476 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.1476, allocations: 38.5 kB / 476 MB, free: 8.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1477, allocations: 4 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003421/0.148, allocations: 101.1 kB / 476.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1481, allocations: 51.41 kB / 476.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.1492, allocations: 0.8574 MB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1492, allocations: 29.7 kB / 477 MB, free: 7.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.1495, allocations: 216.1 kB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.1495, allocations: 3.906 kB / 477.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1495, allocations: 17.84 kB / 477.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1497, allocations: 366.7 kB / 477.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.1497, allocations: 8 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.536e-05/0.1498, allocations: 15.92 kB / 477.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.1499, allocations: 28.84 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1499, allocations: 0 / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001415/0.15, allocations: 89.28 kB / 477.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1501, allocations: 11.27 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1501, allocations: 0 / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1501, allocations: 4 kB / 477.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.1502, allocations: 4 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1502, allocations: 0 / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.1502, allocations: 0 / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1502, allocations: 4 kB / 477.8 MB, free: 6.336 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 (2): * Single equations (assignments): 2 * 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.0002439/0.1505, allocations: 217.7 kB / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1505, allocations: 47.41 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.1508, allocations: 104.6 kB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1508, allocations: 3.938 kB / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1508, allocations: 0 / 478.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1508, allocations: 3.984 kB / 478.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.1512, allocations: 285.5 kB / 478.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1512, allocations: 0 / 478.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.1512, allocations: 7.984 kB / 478.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1512, allocations: 0 / 478.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1512, allocations: 7.969 kB / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1512, allocations: 0 / 478.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1512, allocations: 4 kB / 478.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1515, allocations: 194.8 kB / 478.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.1516, allocations: 108.6 kB / 478.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1516, allocations: 4 kB / 478.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1517, allocations: 8.031 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1517, allocations: 0 / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.1517, allocations: 0 / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00095/0.1527, allocations: 0.6511 MB / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1527, allocations: 0 / 479.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1529, allocations: 20 kB / 479.4 MB, free: 4.586 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 (2): * Single equations (assignments): 2 * 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.0008233/0.1538, allocations: 348.5 kB / 479.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1539, allocations: 23.98 kB / 479.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1539, allocations: 3.938 kB / 479.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/0.154, allocations: 15.94 kB / 479.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1544, allocations: 21.95 kB / 479.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1556, allocations: 0.7789 MB / 480.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.1564, allocations: 0.8182 MB / 481.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.04e-05/0.1565, allocations: 7.984 kB / 481.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1565, allocations: 11.44 kB / 481.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1565, allocations: 0 / 481.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of Templates: time 0.01129/0.1678, allocations: 1.269 MB / 482.7 MB, free: 1.375 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches