Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.267/0.267, allocations: 46.91 MB / 357.1 MB, free: 10.37 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.4914 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1659, allocations: 65.99 MB / 0.5559 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.0036/0.1695, allocations: 1.62 MB / 0.5575 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1707, allocations: 0.5494 MB / 0.558 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.468e-05/0.1707, allocations: 3.938 kB / 0.558 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.1711, allocations: 123.7 kB / 0.5581 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1715, allocations: 127.5 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.1718, allocations: 91.75 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.172, allocations: 95.73 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1721, allocations: 15.98 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.054e-05/0.1722, allocations: 55.75 kB / 0.5585 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1724, allocations: 91.77 kB / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1724, allocations: 0 / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1725, allocations: 47.98 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.1726, allocations: 27.91 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.1726, allocations: 35.69 kB / 0.5587 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.1729, allocations: 123.4 kB / 0.5588 GB, free: 2.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1729, allocations: 7.922 kB / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1729, allocations: 4 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.1729, allocations: 0 / 0.5588 GB, free: 2.359 MB / 414.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.0006632/0.1736, allocations: 442.5 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1736, allocations: 8.031 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1737, allocations: 16.84 kB / 0.5593 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.174, allocations: 211.8 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.174, allocations: 4.375 kB / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.174, allocations: 384 / 0.5595 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1742, allocations: 57.81 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1742, allocations: 7.984 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1742, allocations: 3.938 kB / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1742, allocations: 0 / 0.5595 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1744, allocations: 23.98 kB / 0.5596 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1749, allocations: 304.8 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.175, allocations: 42.5 kB / 0.5599 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.175, allocations: 16.95 kB / 0.5599 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.1751, allocations: 3.984 kB / 0.5599 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1751, allocations: 34.56 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1751, allocations: 3.938 kB / 0.5599 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001019/0.1761, allocations: 237.1 kB / 0.5602 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.1762, allocations: 55.41 kB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1765, allocations: 275.7 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1765, allocations: 37.64 kB / 0.5605 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.1766, allocations: 108.1 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.1767, allocations: 31.73 kB / 0.5607 GB, free: 272 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.1767, allocations: 21.72 kB / 0.5607 GB, free: 244 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1769, allocations: 330.8 kB / 0.561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.177, allocations: 23.98 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.177, allocations: 23.98 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1772, allocations: 68.83 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1772, allocations: 0 / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002302/0.1774, allocations: 105.6 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1775, allocations: 5.875 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1775, allocations: 3.984 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1775, allocations: 0 / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1776, allocations: 16 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1776, allocations: 3.984 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.1777, allocations: 7.938 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1777, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.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 0.0001382/0.1778, allocations: 144 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.1779, allocations: 15.91 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.1782, allocations: 119 kB / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1782, allocations: 432 / 0.5615 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1782, allocations: 4 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.1782, allocations: 3.938 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.1788, allocations: 423.2 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1788, allocations: 0 / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.1789, allocations: 23.91 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1789, allocations: 3.938 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1789, allocations: 7.938 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1789, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1789, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.1792, allocations: 216.8 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1793, allocations: 92.95 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1793, allocations: 4 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.1794, allocations: 7.984 kB / 0.5623 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1794, allocations: 7.938 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1794, allocations: 4 kB / 0.5623 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.1796, allocations: 209.5 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1796, allocations: 4 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1799, allocations: 23.94 kB / 0.5625 GB, free: 14.25 MB / 430.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.001776/0.1817, allocations: 451.2 kB / 0.5629 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.182, allocations: 71.94 kB / 0.563 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.182, allocations: 3.938 kB / 0.563 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.1821, allocations: 35.92 kB / 0.563 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1824, allocations: 21.08 kB / 0.563 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.1831, allocations: 312.1 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1835, allocations: 0.7158 MB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.1836, allocations: 16.95 kB / 0.5641 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.1836, allocations: 15.44 kB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1836, allocations: 4 kB / 0.5641 GB, free: 12.74 MB / 430.1 MB Notification: Performance of Templates: time 0.004999/0.1886, allocations: 1.395 MB / 0.5654 GB, free: 11.35 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.466221157461405]