Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.92 kB / 16.99 MB, free: 6.402 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.001222/0.001222, allocations: 178.6 kB / 17.88 MB, free: 5.957 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.501/1.501, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2311/0.2311, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003301, allocations: 9.25 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00213/0.1474, allocations: 1.271 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1489, allocations: 0.9376 MB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.1489, allocations: 4 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1492, allocations: 23.84 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1494, allocations: 35.84 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1497, allocations: 90.69 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1499, allocations: 39.89 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.15, allocations: 8 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.1501, allocations: 27.84 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1502, allocations: 15.88 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1502, allocations: 4 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1503, allocations: 31.97 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.1504, allocations: 11.98 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.1504, allocations: 29.64 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1506, allocations: 67.84 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1506, allocations: 4 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1506, allocations: 0 / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1506, allocations: 0 / 474 MB, free: 11.13 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.0005578/0.1512, allocations: 367.4 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1512, allocations: 12.56 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.1513, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1515, allocations: 186.9 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1516, allocations: 11.94 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1516, allocations: 3.953 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1518, allocations: 71.39 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1518, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1518, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1518, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.775e-05/0.1519, allocations: 23.98 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.1524, allocations: 288.8 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1526, allocations: 46.56 kB / 475 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1526, allocations: 7.984 kB / 475 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1527, allocations: 34.56 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1527, allocations: 0 / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006177/0.1533, allocations: 165.4 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.1534, allocations: 88.98 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.1535, allocations: 137.2 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1536, allocations: 25.7 kB / 475.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1536, allocations: 88.14 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.1537, allocations: 23.73 kB / 475.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.1537, allocations: 0 / 475.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1538, allocations: 318.8 kB / 475.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.1539, allocations: 27.98 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.154, allocations: 41.62 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.1541, allocations: 27.98 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1541, allocations: 4.031 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.1543, allocations: 89.58 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1543, allocations: 7.984 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1543, allocations: 0 / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1544, allocations: 0 / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.441e-05/0.1544, allocations: 12 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1545, allocations: 4 kB / 476.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1545, allocations: 11.98 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1545, allocations: 4 kB / 476.1 MB, free: 8.816 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 9.286e-05/0.1546, allocations: 121.7 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.1547, allocations: 7.906 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1549, allocations: 105.6 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1549, allocations: 0 / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1549, allocations: 320 / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1549, allocations: 0 / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.1554, allocations: 370.5 kB / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1554, allocations: 0 / 476.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1555, allocations: 15.98 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1555, allocations: 0 / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1555, allocations: 0 / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1555, allocations: 0 / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1555, allocations: 4 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1557, allocations: 191.4 kB / 476.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1558, allocations: 89.02 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1558, allocations: 0 / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1559, allocations: 15.86 kB / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1559, allocations: 4 kB / 477 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.156, allocations: 4 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.1561, allocations: 111.2 kB / 477.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1561, allocations: 0 / 477.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1563, allocations: 16 kB / 477.2 MB, free: 7.676 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.001114/0.1574, allocations: 456.3 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1577, allocations: 55.97 kB / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1577, allocations: 0 / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.1578, allocations: 35.91 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.158, allocations: 19.95 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.1584, allocations: 172.8 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1587, allocations: 0.6926 MB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.329e-05/0.1588, allocations: 15.98 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1588, allocations: 15.42 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1588, allocations: 0 / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Templates: time 0.003938/0.1628, allocations: 1.295 MB / 479.9 MB, free: 5.051 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches