Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01055/0.01055, allocations: 100.5 kB / 15.87 MB, free: 6.309 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.00191/0.001909, allocations: 194.9 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4234/0.4234, allocations: 43.5 MB / 313.5 MB, free: 8.32 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 71.89 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1599, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003423/0.1634, allocations: 1.618 MB / 441.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007723/0.1642, allocations: 311.7 kB / 441.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.1643, allocations: 0 / 441.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1646, allocations: 19.92 kB / 441.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1648, allocations: 31.84 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.165, allocations: 63.92 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1652, allocations: 51.78 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1653, allocations: 19.98 kB / 441.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.1654, allocations: 23.91 kB / 441.9 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.1654, allocations: 11.88 kB / 442 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1655, allocations: 4 kB / 442 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.1656, allocations: 31.98 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.1656, allocations: 11.92 kB / 442 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.1657, allocations: 23.8 kB / 442 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1659, allocations: 76.02 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1659, allocations: 0 / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1659, allocations: 0 / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1659, allocations: 4 kB / 442.1 MB, free: 12.29 MB / 382.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.0005535/0.1665, allocations: 383.2 kB / 442.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1665, allocations: 8.031 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.1666, allocations: 12.84 kB / 442.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1668, allocations: 188.1 kB / 442.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1668, allocations: 4.375 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1668, allocations: 4.375 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.167, allocations: 49.75 kB / 442.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.167, allocations: 0 / 442.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.167, allocations: 4 kB / 442.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.167, allocations: 4 kB / 442.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1671, allocations: 19.98 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.1675, allocations: 268.9 kB / 443 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1677, allocations: 46.5 kB / 443.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1678, allocations: 24.94 kB / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1678, allocations: 3.984 kB / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.1679, allocations: 34.56 kB / 443.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1679, allocations: 0 / 443.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005809/0.1685, allocations: 137.5 kB / 443.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1685, allocations: 55.41 kB / 443.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1686, allocations: 161.2 kB / 443.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1687, allocations: 25.7 kB / 443.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1687, allocations: 92.14 kB / 443.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1688, allocations: 23.64 kB / 443.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.1688, allocations: 17.72 kB / 443.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1689, allocations: 322.8 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.169, allocations: 19.98 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.1691, allocations: 19.98 kB / 444 MB, free: 10.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1692, allocations: 44.78 kB / 444 MB, free: 10.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1692, allocations: 0 / 444 MB, free: 10.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.1694, allocations: 85.75 kB / 444.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1694, allocations: 8 kB / 444.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1694, allocations: 0 / 444.1 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1695, allocations: 4 kB / 444.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.1695, allocations: 11.98 kB / 444.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1696, allocations: 4 kB / 444.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.1696, allocations: 3.984 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1696, allocations: 7.938 kB / 444.2 MB, free: 10.02 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.1697, allocations: 117.8 kB / 444.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.1698, allocations: 11.84 kB / 444.3 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.17, allocations: 97.91 kB / 444.4 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1701, allocations: 0 / 444.4 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1701, allocations: 3.984 kB / 444.4 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1701, allocations: 3.938 kB / 444.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.1705, allocations: 342.5 kB / 444.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1705, allocations: 0 / 444.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.1706, allocations: 15.98 kB / 444.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1706, allocations: 4 kB / 444.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1706, allocations: 0 / 444.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1707, allocations: 3.938 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1707, allocations: 0 / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1709, allocations: 171.6 kB / 444.9 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.171, allocations: 85.08 kB / 445 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.171, allocations: 8 kB / 445 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1711, allocations: 15.92 kB / 445 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1711, allocations: 0 / 445 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1711, allocations: 0 / 445 MB, free: 9.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1713, allocations: 127.2 kB / 445.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1713, allocations: 0 / 445.1 MB, free: 8.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1715, allocations: 11.98 kB / 445.2 MB, free: 8.91 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.1728, allocations: 401.6 kB / 445.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.1731, allocations: 47.97 kB / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1731, allocations: 0 / 445.6 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.1733, allocations: 32.03 kB / 445.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.1737, allocations: 12.12 kB / 445.6 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.1742, allocations: 191.3 kB / 445.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1746, allocations: 0.7004 MB / 446.5 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.375e-05/0.1746, allocations: 7.984 kB / 446.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1747, allocations: 15.42 kB / 446.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1747, allocations: 0 / 446.6 MB, free: 7.492 MB / 382.1 MB Notification: Performance of Templates: time 0.004065/0.1787, allocations: 1.026 MB / 447.6 MB, free: 6.465 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches