Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001389/0.001389, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001515/0.001515, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.646/1.646, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2679/0.2679, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.91 kB / 0.4914 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1655, allocations: 66 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.004091/0.1696, allocations: 1.605 MB / 0.5574 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1708, allocations: 0.5376 MB / 0.558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.1709, allocations: 0 / 0.558 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1711, allocations: 31.78 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.1715, allocations: 79.69 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.1717, allocations: 91.69 kB / 0.5582 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1719, allocations: 67.78 kB / 0.5582 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.172, allocations: 11.98 kB / 0.5582 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.434e-05/0.1721, allocations: 23.91 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.1722, allocations: 23.86 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1722, allocations: 0 / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.1723, allocations: 28 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.1723, allocations: 19.91 kB / 0.5583 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.1724, allocations: 31.75 kB / 0.5584 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1726, allocations: 87.59 kB / 0.5584 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.1726, allocations: 0 / 0.5584 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1726, allocations: 0 / 0.5584 GB, free: 2.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.1727, allocations: 0 / 0.5584 GB, free: 2.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006062/0.1733, allocations: 394.9 kB / 0.5588 GB, free: 2.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.1733, allocations: 8.031 kB / 0.5588 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1733, allocations: 12.84 kB / 0.5588 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.1736, allocations: 192.8 kB / 0.559 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1736, allocations: 12.38 kB / 0.559 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.1736, allocations: 3.938 kB / 0.559 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1738, allocations: 53.56 kB / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1738, allocations: 0 / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1738, allocations: 0 / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1738, allocations: 0 / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.1739, allocations: 23.97 kB / 0.5591 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.1743, allocations: 276.9 kB / 0.5594 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1746, allocations: 46.5 kB / 0.5594 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.1746, allocations: 16.94 kB / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1746, allocations: 0 / 0.5594 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1747, allocations: 34.56 kB / 0.5595 GB, free: 1.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1747, allocations: 4 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006364/0.1753, allocations: 153.4 kB / 0.5596 GB, free: 1.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1754, allocations: 51.41 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1756, allocations: 177.5 kB / 0.5598 GB, free: 1.035 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1756, allocations: 29.69 kB / 0.5599 GB, free: 1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1757, allocations: 100.1 kB / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1757, allocations: 15.89 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/0.1757, allocations: 21.72 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1759, allocations: 326.8 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.378e-05/0.176, allocations: 15.98 kB / 0.5603 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.176, allocations: 19.98 kB / 0.5603 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1762, allocations: 44.78 kB / 0.5604 GB, free: 456 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.1762, allocations: 3.984 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002338/0.1764, allocations: 89.58 kB / 0.5605 GB, free: 356 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1764, allocations: 4 kB / 0.5605 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1764, allocations: 0 / 0.5605 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1765, allocations: 0 / 0.5605 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.1765, allocations: 15.98 kB / 0.5605 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1765, allocations: 0 / 0.5605 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.1766, allocations: 7.938 kB / 0.5605 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1766, allocations: 0 / 0.5605 GB, free: 328 kB / 414.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 0.0001031/0.1767, allocations: 128 kB / 0.5606 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.1767, allocations: 7.953 kB / 0.5606 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.177, allocations: 93.91 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.177, allocations: 0 / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.177, allocations: 3.938 kB / 0.5607 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.177, allocations: 3.938 kB / 0.5607 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.1775, allocations: 354.8 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1775, allocations: 8.062 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.1776, allocations: 11.98 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1776, allocations: 4 kB / 0.5611 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1776, allocations: 3.938 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1776, allocations: 0 / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1776, allocations: 0 / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1778, allocations: 175.5 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1779, allocations: 93 kB / 0.5613 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1779, allocations: 3.938 kB / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.178, allocations: 4 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.178, allocations: 11.92 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.178, allocations: 4 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1782, allocations: 127.2 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1784, allocations: 19.94 kB / 0.5615 GB, free: 15.18 MB / 430.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.001619/0.18, allocations: 419.4 kB / 0.5619 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1803, allocations: 43.97 kB / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1803, allocations: 0 / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/0.1804, allocations: 27.91 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1807, allocations: 16 kB / 0.562 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.1812, allocations: 201.9 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1816, allocations: 0.6924 MB / 0.5629 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.1816, allocations: 11.77 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.1817, allocations: 11.44 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1817, allocations: 0 / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of Templates: time 0.004456/0.1861, allocations: 1.137 MB / 0.564 GB, free: 12.74 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.493828892707825]