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.001056/0.001057, allocations: 98.31 kB / 17 MB, free: 6.09 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.001233/0.001233, allocations: 179.6 kB / 17.89 MB, free: 5.672 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.509/1.509, allocations: 223.2 MB / 241.9 MB, free: 348 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.21/0.21, allocations: 44.26 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003006, allocations: 11.98 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1569, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002191/0.1591, allocations: 1.243 MB / 472.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.1599, allocations: 379.5 kB / 473.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.1599, allocations: 4 kB / 473.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.1602, allocations: 7.938 kB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.1604, allocations: 31.91 kB / 473.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1606, allocations: 71.84 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1608, allocations: 51.83 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1609, allocations: 8 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.161, allocations: 23.86 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1611, allocations: 11.94 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1611, allocations: 0 / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1613, allocations: 35.91 kB / 473.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.1613, allocations: 8 kB / 473.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.1614, allocations: 29.64 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1616, allocations: 55.91 kB / 473.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1616, allocations: 0 / 473.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1616, allocations: 0 / 473.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1616, allocations: 4 kB / 473.6 MB, free: 11.74 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.0006426/0.1623, allocations: 367.4 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1623, allocations: 8.562 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.1624, allocations: 7.906 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1626, allocations: 186.9 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1627, allocations: 0 / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1627, allocations: 7.953 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1629, allocations: 57.62 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1629, allocations: 0 / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1629, allocations: 4 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1629, allocations: 0 / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1631, allocations: 27.97 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1636, allocations: 272.8 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.1639, allocations: 54.48 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.164, allocations: 20.94 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.164, allocations: 0 / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.164, allocations: 30.56 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1641, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006886/0.1648, allocations: 157.3 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1648, allocations: 55.41 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.165, allocations: 138.1 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.165, allocations: 25.7 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.1651, allocations: 100 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.1651, allocations: 11.81 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1652, allocations: 4 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1653, allocations: 322.8 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.1654, allocations: 23.98 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.607e-05/0.1655, allocations: 23.92 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.1656, allocations: 27.98 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1656, allocations: 0 / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000237/0.1658, allocations: 89.52 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1659, allocations: 8 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1659, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1659, allocations: 0 / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.166, allocations: 15.98 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.166, allocations: 0 / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.1661, allocations: 4 kB / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1661, allocations: 11.98 kB / 475.6 MB, free: 9.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.1662, allocations: 125.7 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1663, allocations: 3.906 kB / 475.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.1665, allocations: 101.9 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1666, allocations: 4 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1666, allocations: 0 / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1666, allocations: 0 / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1671, allocations: 346.9 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1671, allocations: 4 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.684e-05/0.1672, allocations: 27.86 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1672, allocations: 0 / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1672, allocations: 0 / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1673, allocations: 0 / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1673, allocations: 0 / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.1676, allocations: 195.4 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1676, allocations: 85.02 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1677, allocations: 0 / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1678, allocations: 7.984 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.1678, allocations: 4 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.1678, allocations: 0 / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.673e-05/0.1679, allocations: 111.2 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.168, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004129/0.1684, allocations: 20 kB / 476.6 MB, free: 8.375 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 (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.001299/0.1697, allocations: 415.1 kB / 477 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1699, allocations: 51.97 kB / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.17, allocations: 0 / 477 MB, free: 8.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1701, allocations: 31.98 kB / 477.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.1705, allocations: 19.81 kB / 477.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.171, allocations: 176.6 kB / 477.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1714, allocations: 0.6926 MB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.381e-05/0.1714, allocations: 8 kB / 478 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.1715, allocations: 11.44 kB / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1715, allocations: 0 / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of Templates: time 0.004851/0.1764, allocations: 1.015 MB / 479 MB, free: 6.078 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