Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.CombiTable1D.Test21,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.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009951, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 184.8 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.4594/0.4594, allocations: 43.56 MB / 315 MB, free: 9.035 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.0005401/0.0005404, allocations: 16 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002051/0.1563, allocations: 1.271 MB / 444.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1576, allocations: 0.9182 MB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.1577, allocations: 7.938 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1579, allocations: 15.92 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.158, allocations: 39.84 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1583, allocations: 87.89 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1584, allocations: 47.84 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1586, allocations: 15.98 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.1586, allocations: 23.86 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1588, allocations: 19.91 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1588, allocations: 4 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.1589, allocations: 47.98 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1589, allocations: 11.91 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.159, allocations: 45.52 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1592, allocations: 91.98 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1592, allocations: 0 / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1592, allocations: 0 / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.1592, allocations: 0 / 446.1 MB, free: 10.26 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.0004571/0.1596, allocations: 367.3 kB / 446.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1597, allocations: 12.03 kB / 446.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1597, allocations: 8.844 kB / 446.5 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.16, allocations: 192.2 kB / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.16, allocations: 384 / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.16, allocations: 384 / 446.7 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.1602, allocations: 75.45 kB / 446.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1602, allocations: 0 / 446.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1602, allocations: 4 kB / 446.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1602, allocations: 4 kB / 446.7 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.1603, allocations: 27.98 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.1607, allocations: 276.9 kB / 447 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.161, allocations: 54.48 kB / 447.1 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.161, allocations: 16.86 kB / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.161, allocations: 0 / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1611, allocations: 30.66 kB / 447.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1611, allocations: 4 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006065/0.1617, allocations: 165.3 kB / 447.3 MB, free: 8.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1618, allocations: 77.11 kB / 447.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1619, allocations: 133.8 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.162, allocations: 29.7 kB / 447.5 MB, free: 8.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.162, allocations: 100.1 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.162, allocations: 7.812 kB / 447.6 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.1621, allocations: 13.72 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1622, allocations: 322.8 kB / 448 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.1623, allocations: 23.98 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.1624, allocations: 49.64 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1625, allocations: 56.77 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1625, allocations: 0 / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001967/0.1627, allocations: 97.59 kB / 448.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1627, allocations: 4 kB / 448.2 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1628, allocations: 4 kB / 448.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1628, allocations: 0 / 448.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.1628, allocations: 19.92 kB / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1629, allocations: 0 / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1629, allocations: 8 kB / 448.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1629, allocations: 4 kB / 448.2 MB, free: 7.871 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 8.993e-05/0.163, allocations: 133.7 kB / 448.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.163, allocations: 3.906 kB / 448.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1633, allocations: 105.6 kB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1633, allocations: 0 / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1633, allocations: 320 / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1633, allocations: 288 / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.1638, allocations: 370.4 kB / 448.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1638, allocations: 4 kB / 448.8 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1639, allocations: 15.98 kB / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1639, allocations: 0 / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1639, allocations: 3.984 kB / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1639, allocations: 3.938 kB / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1639, allocations: 0 / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.1641, allocations: 191.4 kB / 449 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.1642, allocations: 89 kB / 449.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1642, allocations: 4 kB / 449.1 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.1643, allocations: 11.88 kB / 449.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1643, allocations: 3.984 kB / 449.1 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1643, allocations: 4 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000154/0.1645, allocations: 107.3 kB / 449.3 MB, free: 6.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1645, allocations: 4 kB / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1647, allocations: 16 kB / 449.3 MB, free: 6.715 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.001079/0.1658, allocations: 438.2 kB / 449.7 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1661, allocations: 71.89 kB / 449.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1661, allocations: 0 / 449.8 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.1661, allocations: 31.92 kB / 449.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1665, allocations: 23.67 kB / 449.8 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.1668, allocations: 180.7 kB / 450 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1671, allocations: 0.6887 MB / 450.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.084e-05/0.1672, allocations: 12.23 kB / 450.7 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.1672, allocations: 15.44 kB / 450.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1672, allocations: 0 / 450.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of Templates: time 0.003834/0.171, allocations: 1.307 MB / 452 MB, free: 3.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches