Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008154/0.0008155, allocations: 90.62 kB / 17.35 MB, free: 6.32 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.0009462/0.0009462, allocations: 178.1 kB / 18.26 MB, free: 5.484 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.483/1.483, allocations: 223.3 MB / 242.3 MB, free: 224 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.2067/0.2067, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 8.234 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00201/0.1414, allocations: 1.278 MB / 473.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1429, allocations: 0.9921 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.143, allocations: 4 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.1432, allocations: 19.86 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1434, allocations: 39.84 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1437, allocations: 95.58 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1438, allocations: 47.91 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.144, allocations: 19.98 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.511e-05/0.144, allocations: 19.86 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1441, allocations: 23.86 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1442, allocations: 0 / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.283e-05/0.1443, allocations: 51.95 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.1443, allocations: 11.94 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.1443, allocations: 41.56 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1445, allocations: 87.77 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1445, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1445, allocations: 0 / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1445, allocations: 0 / 475 MB, free: 10.62 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.000436/0.145, allocations: 386.1 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.145, allocations: 8.031 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1451, allocations: 4.938 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1453, allocations: 184.2 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1453, allocations: 384 / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1453, allocations: 4.375 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1455, allocations: 75.5 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1455, allocations: 3.938 kB / 475.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1455, allocations: 4 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1455, allocations: 4 kB / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.619e-05/0.1456, allocations: 27.92 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.146, allocations: 288.8 kB / 475.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1462, allocations: 42.56 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.1463, allocations: 20.94 kB / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1463, allocations: 0 / 476 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1463, allocations: 42.5 kB / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1463, allocations: 0 / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005871/0.1469, allocations: 165.3 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.147, allocations: 81.11 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1471, allocations: 133.8 kB / 476.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1471, allocations: 25.7 kB / 476.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.1472, allocations: 88.14 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.1472, allocations: 19.66 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.1473, allocations: 13.72 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1474, allocations: 322.8 kB / 476.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.1475, allocations: 27.98 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.1476, allocations: 41.69 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.1477, allocations: 60.86 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1478, allocations: 0 / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001932/0.148, allocations: 89.8 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.148, allocations: 10.5 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.148, allocations: 4.062 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.148, allocations: 3.984 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.1481, allocations: 16 kB / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1481, allocations: 0 / 477.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.1482, allocations: 7.984 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1482, allocations: 4 kB / 477.1 MB, free: 8.219 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/0.1483, allocations: 118.3 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1483, allocations: 3.906 kB / 477.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1486, allocations: 113.5 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1486, allocations: 0 / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1486, allocations: 0 / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1486, allocations: 7.875 kB / 477.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.149, allocations: 366.4 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1491, allocations: 0 / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1491, allocations: 15.98 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1491, allocations: 0 / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1491, allocations: 4 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1492, allocations: 7.875 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1492, allocations: 0 / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1494, allocations: 187.5 kB / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1495, allocations: 81.02 kB / 478 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1495, allocations: 8 kB / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.1496, allocations: 15.92 kB / 478.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1496, allocations: 4.188 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1496, allocations: 4 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.1497, allocations: 105.5 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1497, allocations: 0 / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.15, allocations: 23.98 kB / 478.2 MB, free: 7.07 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 (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.001007/0.151, allocations: 444.8 kB / 478.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1512, allocations: 59.91 kB / 478.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1512, allocations: 0 / 478.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.837e-05/0.1513, allocations: 39.97 kB / 478.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1516, allocations: 12 kB / 478.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.152, allocations: 180.6 kB / 478.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1523, allocations: 0.6926 MB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.1524, allocations: 11.98 kB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.1524, allocations: 19.42 kB / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1524, allocations: 0 / 479.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of Templates: time 0.003829/0.1562, allocations: 1.306 MB / 480.9 MB, free: 4.438 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches