Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001193/0.001194, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.441/1.441, allocations: 223.3 MB / 242.3 MB, free: 14.49 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.2112/0.2112, allocations: 44.25 MB / 337.7 MB, free: 2.504 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004505, allocations: 9.25 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.156, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002046/0.1581, allocations: 1.274 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008173/0.1589, allocations: 387.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.159, allocations: 0 / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1593, allocations: 15.92 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1594, allocations: 31.91 kB / 474 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1597, allocations: 75.11 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1599, allocations: 55.78 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1601, allocations: 19.98 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.1601, allocations: 15.92 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1602, allocations: 19.86 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1602, allocations: 0 / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.739e-05/0.1603, allocations: 24 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.1604, allocations: 19.84 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.1604, allocations: 37.58 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1606, allocations: 71.78 kB / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1606, allocations: 0 / 474.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.1606, allocations: 8 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1606, allocations: 3.938 kB / 474.3 MB, free: 11.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004705/0.1611, allocations: 363.6 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1612, allocations: 8.031 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1612, allocations: 12.84 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1614, allocations: 192.2 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1614, allocations: 384 / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1615, allocations: 4.375 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1616, allocations: 53.81 kB / 474.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1617, allocations: 3.938 kB / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1617, allocations: 0 / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1617, allocations: 0 / 474.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1618, allocations: 27.92 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.1622, allocations: 276.9 kB / 475.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1624, allocations: 42.56 kB / 475.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1625, allocations: 16.94 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1625, allocations: 7.938 kB / 475.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1625, allocations: 30.56 kB / 475.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1625, allocations: 4 kB / 475.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006162/0.1632, allocations: 153.4 kB / 475.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1632, allocations: 59.41 kB / 475.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1634, allocations: 144.9 kB / 475.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.1634, allocations: 25.7 kB / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1635, allocations: 92.12 kB / 475.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.1635, allocations: 11.81 kB / 475.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1635, allocations: 9.719 kB / 475.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1637, allocations: 326.8 kB / 476.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.1637, allocations: 27.98 kB / 476.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.1638, allocations: 19.98 kB / 476.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.164, allocations: 52.83 kB / 476.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.164, allocations: 4 kB / 476.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001851/0.1642, allocations: 89.61 kB / 476.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1642, allocations: 8 kB / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1642, allocations: 0 / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1642, allocations: 3.984 kB / 476.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.1643, allocations: 19.98 kB / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1643, allocations: 0 / 476.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.1644, allocations: 4 kB / 476.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1644, allocations: 3.938 kB / 476.4 MB, free: 8.988 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 (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 9.221e-05/0.1645, allocations: 130.2 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1645, allocations: 3.906 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.1647, allocations: 110.2 kB / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1648, allocations: 0 / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1648, allocations: 0 / 476.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1648, allocations: 3.938 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.1653, allocations: 350.5 kB / 476.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1653, allocations: 0 / 476.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.1653, allocations: 15.98 kB / 477 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1653, allocations: 0 / 477 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1654, allocations: 0 / 477 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1654, allocations: 7.875 kB / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1654, allocations: 0 / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1656, allocations: 183.4 kB / 477.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1657, allocations: 93 kB / 477.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1657, allocations: 0 / 477.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.1658, allocations: 7.938 kB / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1658, allocations: 7.984 kB / 477.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1658, allocations: 4 kB / 477.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.92e-05/0.1659, allocations: 107.3 kB / 477.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 0 / 477.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.1662, allocations: 19.98 kB / 477.4 MB, free: 7.859 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 (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.0009649/0.1671, allocations: 395.3 kB / 477.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1674, allocations: 63.84 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1674, allocations: 0 / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.1675, allocations: 27.98 kB / 477.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1678, allocations: 19.97 kB / 477.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.1682, allocations: 184.6 kB / 478.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1685, allocations: 0.6926 MB / 478.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.561e-05/0.1686, allocations: 11.98 kB / 478.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1686, allocations: 11.44 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1686, allocations: 4 kB / 478.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of Templates: time 0.004133/0.1727, allocations: 1.026 MB / 479.8 MB, free: 5.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches