Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 96.86 kB / 16.98 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.001339/0.001339, allocations: 183.8 kB / 17.87 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.409/1.409, 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.2267/0.2267, allocations: 44.22 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003264, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002311/0.1512, allocations: 1.275 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1528, allocations: 0.9569 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.153, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1532, allocations: 23.91 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1535, allocations: 31.84 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1538, allocations: 95.7 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.154, allocations: 47.89 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1541, allocations: 20.16 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.1542, allocations: 15.92 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1544, allocations: 23.86 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1544, allocations: 0 / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1545, allocations: 31.97 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1546, allocations: 16 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.1546, allocations: 33.64 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1548, allocations: 75.81 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1548, allocations: 4 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1548, allocations: 0 / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1548, allocations: 0 / 474.1 MB, free: 11.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005357/0.1554, allocations: 375.4 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1554, allocations: 12.5 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.1555, allocations: 11.91 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1557, allocations: 183 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1558, allocations: 4 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1558, allocations: 12 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.156, allocations: 83.27 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.156, allocations: 3.906 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1561, allocations: 4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1561, allocations: 3.938 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.1562, allocations: 39.97 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.1568, allocations: 308.8 kB / 475.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.157, allocations: 62.59 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.157, allocations: 0 / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.1571, allocations: 34.56 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1571, allocations: 0 / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007935/0.1579, allocations: 213.3 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.1579, allocations: 77.11 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1581, allocations: 141.8 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1581, allocations: 25.7 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.1582, allocations: 100 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.1582, allocations: 23.66 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.1582, allocations: 4 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1584, allocations: 322.8 kB / 476.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.1585, allocations: 31.98 kB / 476.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.202e-05/0.1586, allocations: 49.62 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.1587, allocations: 40.25 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1587, allocations: 0 / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.1589, allocations: 121.5 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.159, allocations: 4 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.159, allocations: 4 kB / 476.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.159, allocations: 4 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1591, allocations: 15.98 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1591, allocations: 4 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1592, allocations: 4 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1592, allocations: 4 kB / 476.4 MB, free: 8.57 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.0001058/0.1593, allocations: 129.7 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1593, allocations: 11.91 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.1596, allocations: 130 kB / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1597, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1597, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1597, allocations: 0 / 476.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.1602, allocations: 414.3 kB / 477 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.1602, allocations: 3.984 kB / 477 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.1603, allocations: 19.94 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1603, allocations: 3.984 kB / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1603, allocations: 8 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1604, allocations: 3.984 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1604, allocations: 384 / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1606, allocations: 211.5 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.1607, allocations: 97 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1607, allocations: 0 / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1608, allocations: 12 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1609, allocations: 7.922 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1609, allocations: 4 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.161, allocations: 109.8 kB / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1612, allocations: 31.98 kB / 477.5 MB, free: 7.293 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 (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.001066/0.1623, allocations: 448.9 kB / 478 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1626, allocations: 83.89 kB / 478.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1626, allocations: 4 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.1627, allocations: 35.98 kB / 478.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1629, allocations: 11.98 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.1634, allocations: 225 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1636, allocations: 0.7004 MB / 479 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.334e-05/0.1637, allocations: 16.95 kB / 479 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.1638, allocations: 19.42 kB / 479.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1638, allocations: 4 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of Templates: time 0.003904/0.1677, allocations: 1.369 MB / 480.4 MB, free: 4.516 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches