Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008548, allocations: 97.91 kB / 17 MB, free: 6.844 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.001001/0.001002, allocations: 182.3 kB / 17.89 MB, free: 6.078 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.476/1.476, allocations: 223.2 MB / 241.9 MB, free: 312 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.2312/0.2312, allocations: 44.25 MB / 337.3 MB, free: 2.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 15.94 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002416/0.1502, allocations: 1.274 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008262/0.151, allocations: 383.5 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.1512, allocations: 0 / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1515, allocations: 75.83 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002401/0.1518, allocations: 55.88 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1522, allocations: 98.69 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1523, allocations: 59.83 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1525, allocations: 20.11 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.047e-05/0.1526, allocations: 27.91 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1527, allocations: 43.83 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1527, allocations: 4 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1529, allocations: 35.98 kB / 473.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.1529, allocations: 19.92 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.153, allocations: 37.64 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1531, allocations: 75.88 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1532, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1532, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1532, allocations: 0 / 473.8 MB, free: 11.5 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.0005916/0.1538, allocations: 387.2 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1538, allocations: 12.56 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.1539, allocations: 15.91 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1541, allocations: 182.9 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1541, allocations: 8 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1542, allocations: 0 / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1543, allocations: 65.56 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1544, allocations: 3.906 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1544, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1544, allocations: 4 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1545, allocations: 27.98 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.155, allocations: 300.8 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1551, allocations: 54.5 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1553, allocations: 28.88 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1553, allocations: 0 / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.1553, allocations: 30.56 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.1553, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001028/0.1564, allocations: 265.5 kB / 475.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.1564, allocations: 55.41 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.1567, allocations: 202.2 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1567, allocations: 33.7 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.318e-05/0.1568, allocations: 104 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1568, allocations: 23.66 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.1568, allocations: 0 / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.157, allocations: 330.8 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.1571, allocations: 39.91 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.1572, allocations: 36.05 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.968e-05/0.1573, allocations: 44.19 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1573, allocations: 3.938 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002357/0.1576, allocations: 125.5 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1576, allocations: 4 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1576, allocations: 0 / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1576, allocations: 0 / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1577, allocations: 27.98 kB / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1577, allocations: 0 / 476.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.1578, allocations: 8 kB / 476.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1578, allocations: 0 / 476.2 MB, free: 8.91 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.0001219/0.158, allocations: 137.7 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.158, allocations: 7.906 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.1583, allocations: 138.3 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1583, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1583, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1583, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.1589, allocations: 431.2 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1589, allocations: 3.984 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.159, allocations: 23.94 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.159, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.159, allocations: 0 / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.159, allocations: 3.984 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.159, allocations: 4 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.1593, allocations: 220.2 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1594, allocations: 88.92 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1594, allocations: 7.984 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1595, allocations: 12 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1596, allocations: 7.984 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.1596, allocations: 7.891 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1597, allocations: 159.2 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1597, allocations: 0 / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.16, allocations: 24 kB / 477.4 MB, free: 7.547 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.001243/0.1613, allocations: 457.9 kB / 477.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1615, allocations: 87.94 kB / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1615, allocations: 0 / 477.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.1616, allocations: 47.91 kB / 478 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.162, allocations: 18.64 kB / 478 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.1625, allocations: 270.5 kB / 478.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1629, allocations: 0.7083 MB / 479 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.599e-05/0.163, allocations: 24.66 kB / 479 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.163, allocations: 19.36 kB / 479 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.163, allocations: 3.938 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Templates: time 0.004448/0.1675, allocations: 1.275 MB / 480.3 MB, free: 4.781 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches