Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 100.5 kB / 16.99 MB, free: 5.941 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.001144/0.001144, allocations: 183.4 kB / 17.88 MB, free: 5.609 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.444/1.444, allocations: 223.2 MB / 241.8 MB, free: 380 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.2317/0.2317, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003569, allocations: 15.98 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002097/0.1441, allocations: 1.27 MB / 472.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006813/0.1449, allocations: 367.6 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.1449, allocations: 4 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1452, allocations: 71.77 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1454, allocations: 55.86 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1457, allocations: 99.25 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1458, allocations: 51.88 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1459, allocations: 16.11 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.146, allocations: 27.91 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.1461, allocations: 43.89 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1461, allocations: 0 / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.1462, allocations: 35.86 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1462, allocations: 11.98 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.1463, allocations: 37.64 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1464, allocations: 67.89 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1464, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1464, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1465, allocations: 4 kB / 473.6 MB, free: 11.6 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.0005082/0.147, allocations: 403.2 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.147, allocations: 8.562 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1471, allocations: 7.906 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1473, allocations: 190.8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1473, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1473, allocations: 8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1475, allocations: 57.61 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1475, allocations: 7.906 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1475, allocations: 8 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1475, allocations: 0 / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1477, allocations: 39.89 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1481, allocations: 292.8 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1482, allocations: 50.56 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.1482, allocations: 4.078 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.1483, allocations: 34.5 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1483, allocations: 0 / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009637/0.1492, allocations: 261.1 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1493, allocations: 59.39 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1495, allocations: 206.1 kB / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1496, allocations: 33.7 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1496, allocations: 104 kB / 475.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1497, allocations: 23.66 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1497, allocations: 0 / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.1499, allocations: 330.8 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.15, allocations: 35.97 kB / 475.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.1501, allocations: 31.98 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1502, allocations: 31.98 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1503, allocations: 4 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002183/0.1505, allocations: 125.4 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1505, allocations: 4 kB / 475.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1505, allocations: 7.922 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1505, allocations: 0 / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1506, allocations: 20 kB / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1507, allocations: 0 / 475.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.1507, allocations: 11.98 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1507, allocations: 3.938 kB / 476 MB, free: 9.027 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 (8): * Single equations (assignments): 8 * 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.0001017/0.1508, allocations: 133.8 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1509, allocations: 7.906 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.1512, allocations: 139 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1512, allocations: 4 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1512, allocations: 0 / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1512, allocations: 7.969 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.1517, allocations: 431.2 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1518, allocations: 8 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.1518, allocations: 15.98 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1518, allocations: 4 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1519, allocations: 4 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1519, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1519, allocations: 4 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.1521, allocations: 233.9 kB / 476.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1522, allocations: 88.92 kB / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1522, allocations: 8 kB / 477 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.1523, allocations: 11.98 kB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.1524, allocations: 7.953 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1524, allocations: 0 / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1525, allocations: 155.2 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1525, allocations: 0 / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.1527, allocations: 23.98 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009954/0.1537, allocations: 458.9 kB / 477.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.154, allocations: 87.89 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.154, allocations: 0 / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.1541, allocations: 43.92 kB / 477.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1543, allocations: 15.98 kB / 477.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.1548, allocations: 266.5 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1551, allocations: 0.716 MB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.665e-05/0.1552, allocations: 24.95 kB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1553, allocations: 11.44 kB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1553, allocations: 0 / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of Templates: time 0.00382/0.1591, allocations: 1.27 MB / 480.1 MB, free: 4.895 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches