Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001102/0.001102, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.207/1.207, allocations: 222.9 MB / 243 MB, free: 15.1 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.1774/0.1774, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 78.47 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00349/0.1622, allocations: 1.575 MB / 472.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008384/0.1631, allocations: 419.2 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.1632, allocations: 4 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1635, allocations: 71.77 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.1638, allocations: 67.73 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1641, allocations: 107.1 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1643, allocations: 79.75 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1644, allocations: 16.19 kB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1645, allocations: 39.83 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1646, allocations: 51.88 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1646, allocations: 4 kB / 473.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.1647, allocations: 43.98 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.1648, allocations: 19.92 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1649, allocations: 27.75 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.1651, allocations: 103.6 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1651, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1651, allocations: 4 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1651, allocations: 0 / 473.3 MB, free: 11.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005756/0.1657, allocations: 407 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1657, allocations: 8.031 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1658, allocations: 8.844 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.166, allocations: 196.1 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.166, allocations: 4.375 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.166, allocations: 8.312 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1662, allocations: 65.55 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.1662, allocations: 3.906 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1663, allocations: 11.98 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1663, allocations: 0 / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.1664, allocations: 27.97 kB / 474 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1668, allocations: 288.8 kB / 474.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1669, allocations: 54.5 kB / 474.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.167, allocations: 20.94 kB / 474.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.167, allocations: 0 / 474.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.167, allocations: 30.56 kB / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1671, allocations: 0 / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008493/0.1679, allocations: 241.1 kB / 474.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.168, allocations: 51.41 kB / 474.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.1682, allocations: 210.1 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1682, allocations: 25.7 kB / 474.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.1683, allocations: 112 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1683, allocations: 23.64 kB / 475.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1684, allocations: 29.66 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1685, allocations: 322.8 kB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.1686, allocations: 27.98 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1686, allocations: 31.91 kB / 475.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1688, allocations: 72.81 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1688, allocations: 0 / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002056/0.169, allocations: 121.5 kB / 475.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.169, allocations: 4 kB / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.169, allocations: 0 / 475.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1691, allocations: 4 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.1692, allocations: 19.92 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1692, allocations: 3.938 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.1692, allocations: 4 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1692, allocations: 4.312 kB / 475.7 MB, free: 8.406 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 (8): * Single equations (assignments): 8 * 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.318e-05/0.1693, allocations: 129.8 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1694, allocations: 11.91 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1697, allocations: 126.3 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1697, allocations: 0 / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1697, allocations: 11.88 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1697, allocations: 0 / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.1702, allocations: 419.2 kB / 476.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1702, allocations: 4 kB / 476.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.1703, allocations: 19.92 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1703, allocations: 0 / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1703, allocations: 11.94 kB / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1703, allocations: 0 / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1703, allocations: 0 / 476.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1706, allocations: 216.2 kB / 476.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1706, allocations: 89.38 kB / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1706, allocations: 0 / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1707, allocations: 11.98 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1708, allocations: 4 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.1708, allocations: 0 / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1709, allocations: 155.2 kB / 476.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1709, allocations: 4 kB / 476.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1711, allocations: 20 kB / 476.9 MB, free: 7.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00108/0.1722, allocations: 459.2 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1725, allocations: 83.88 kB / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1725, allocations: 0 / 477.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.1726, allocations: 35.98 kB / 477.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1729, allocations: 27.58 kB / 477.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.1734, allocations: 263.3 kB / 477.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1737, allocations: 0.708 MB / 478.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.1738, allocations: 16.64 kB / 478.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1738, allocations: 19.44 kB / 478.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1738, allocations: 0 / 478.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of Templates: time 0.3976/0.5715, allocations: 1.351 MB / 479.9 MB, free: 4.266 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches