Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 98.2 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.00123/0.00123, allocations: 178 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.47/1.47, 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.2415/0.2415, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 11.94 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002447/0.1574, allocations: 1.282 MB / 472.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.1582, allocations: 359.6 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.1583, allocations: 4 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1585, allocations: 71.77 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1587, allocations: 55.86 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1589, allocations: 71.78 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.159, allocations: 47.94 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.94e-05/0.1591, allocations: 12.12 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.1592, allocations: 31.89 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.1592, allocations: 43.89 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1593, allocations: 0 / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1594, allocations: 35.86 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1594, allocations: 8 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.1595, allocations: 37.64 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1596, allocations: 71.88 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1596, allocations: 0 / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1596, allocations: 0 / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1596, allocations: 3.938 kB / 473.6 MB, free: 11.59 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.0004323/0.1601, allocations: 399.2 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1601, allocations: 12.56 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.1601, allocations: 7.906 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1603, allocations: 190.9 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1604, allocations: 0 / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1604, allocations: 11.94 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1605, allocations: 57.62 kB / 474.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1605, allocations: 3.906 kB / 474.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1606, allocations: 4 kB / 474.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1606, allocations: 4 kB / 474.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.1607, allocations: 27.92 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.1611, allocations: 296.8 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1613, allocations: 46.55 kB / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1613, allocations: 0 / 474.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1613, allocations: 38.58 kB / 474.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.1613, allocations: 4 kB / 474.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009909/0.1623, allocations: 245.1 kB / 474.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1624, allocations: 51.41 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1626, allocations: 214.1 kB / 475.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1627, allocations: 25.7 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.1628, allocations: 100 kB / 475.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.1628, allocations: 27.64 kB / 475.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1628, allocations: 4 kB / 475.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.163, allocations: 330.8 kB / 475.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.1631, allocations: 28.05 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1632, allocations: 27.98 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.26e-05/0.1632, allocations: 27.98 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1632, allocations: 0 / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002088/0.1635, allocations: 121.6 kB / 475.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1635, allocations: 4 kB / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1635, allocations: 0 / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1635, allocations: 0 / 475.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.1636, allocations: 19.98 kB / 475.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1636, allocations: 8.062 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.1637, allocations: 8 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1637, allocations: 4 kB / 475.9 MB, free: 9.07 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.0001086/0.1638, allocations: 129.8 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.1638, allocations: 11.84 kB / 476 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1641, allocations: 130.3 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1641, allocations: 0 / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1641, allocations: 0 / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1641, allocations: 3.938 kB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.1647, allocations: 419.2 kB / 476.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1647, allocations: 0 / 476.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.445e-05/0.1648, allocations: 16 kB / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1648, allocations: 0 / 476.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.1648, allocations: 3.984 kB / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1648, allocations: 0 / 476.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1648, allocations: 4 kB / 476.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1651, allocations: 229.9 kB / 476.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.1652, allocations: 88.92 kB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1652, allocations: 4 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1653, allocations: 19.98 kB / 476.9 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1654, allocations: 7.953 kB / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1654, allocations: 0 / 476.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1655, allocations: 155.2 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1655, allocations: 0 / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1658, allocations: 23.98 kB / 477.1 MB, free: 7.73 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.001082/0.1669, allocations: 454.6 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.1671, allocations: 75.89 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1671, allocations: 0 / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.6e-05/0.1672, allocations: 43.92 kB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.1675, allocations: 16.3 kB / 477.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.168, allocations: 266.5 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1684, allocations: 0.7043 MB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.1685, allocations: 12.67 kB / 478.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1685, allocations: 11.44 kB / 478.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1685, allocations: 7.938 kB / 478.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Templates: time 0.003812/0.1723, allocations: 1.232 MB / 479.9 MB, free: 5.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches