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.001106/0.001106, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001248/0.001248, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.837/1.837, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2491/0.2491, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001687/0.001687, allocations: 66.66 kB / 382.7 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1595, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002919/0.1625, allocations: 1.555 MB / 442.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1636, allocations: 0.93 MB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1637, allocations: 4 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.164, allocations: 23.86 kB / 443 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1642, allocations: 47.77 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1644, allocations: 98.73 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1646, allocations: 51.92 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1647, allocations: 11.92 kB / 443.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.1647, allocations: 23.86 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1649, allocations: 31.91 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1649, allocations: 0 / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.165, allocations: 51.92 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1651, allocations: 15.91 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.1651, allocations: 19.88 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1653, allocations: 91.77 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1653, allocations: 0 / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1653, allocations: 0 / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1653, allocations: 0 / 443.5 MB, free: 3.926 MB / 318.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.0004386/0.1658, allocations: 379.2 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1658, allocations: 15.89 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1659, allocations: 0.9375 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.166, allocations: 184.2 kB / 444 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1661, allocations: 16.25 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1661, allocations: 4.375 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1662, allocations: 63.52 kB / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1663, allocations: 0 / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1663, allocations: 8 kB / 444.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1663, allocations: 0 / 444.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.711e-05/0.1664, allocations: 19.98 kB / 444.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.1667, allocations: 288.8 kB / 444.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1669, allocations: 38.56 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.167, allocations: 24.88 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.167, allocations: 0 / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.167, allocations: 34.56 kB / 444.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.167, allocations: 0 / 444.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005302/0.1676, allocations: 149.3 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1676, allocations: 77.11 kB / 444.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.1677, allocations: 133.8 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.1677, allocations: 25.7 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1678, allocations: 96.05 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1678, allocations: 11.81 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1678, allocations: 21.7 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.942e-05/0.1679, allocations: 318.8 kB / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.168, allocations: 19.98 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.168, allocations: 41.62 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1682, allocations: 57.05 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1682, allocations: 0 / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001524/0.1683, allocations: 85.56 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1684, allocations: 8 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1684, allocations: 0 / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1684, allocations: 0 / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.1684, allocations: 8 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1685, allocations: 3.938 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.1685, allocations: 16.27 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.1685, allocations: 4 kB / 445.6 MB, free: 1.574 MB / 318.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 5.795e-05/0.1686, allocations: 121.7 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1686, allocations: 4 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.1688, allocations: 105.4 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1688, allocations: 0 / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1688, allocations: 0 / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1688, allocations: 4 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.1692, allocations: 358.4 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1692, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.1692, allocations: 15.98 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1692, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1692, allocations: 192 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1692, allocations: 7.938 kB / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1693, allocations: 0 / 446.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.1694, allocations: 191.4 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.1695, allocations: 77.11 kB / 446.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1695, allocations: 8 kB / 446.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.1696, allocations: 3.938 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.1696, allocations: 7.984 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1696, allocations: 3.938 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.1697, allocations: 110.6 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1697, allocations: 0 / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1699, allocations: 27.98 kB / 446.6 MB, free: 456 kB / 318.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.0008993/0.1708, allocations: 437.7 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.171, allocations: 59.91 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1711, allocations: 0 / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.1711, allocations: 27.97 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.1715, allocations: 12.08 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003539/0.1718, allocations: 169.4 kB / 447.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1722, allocations: 0.6904 MB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.1722, allocations: 19.97 kB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1723, allocations: 15.44 kB / 448 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1723, allocations: 0 / 448 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.004157/0.1765, allocations: 1.369 MB / 449.4 MB, free: 13.69 MB / 334.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches