Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001789/0.001789, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001669/0.001669, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.09 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.2497/0.2497, allocations: 46.91 MB / 357.1 MB, free: 10.33 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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 0.4915 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1637, allocations: 65.99 MB / 0.5559 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004069/0.1678, allocations: 1.946 MB / 0.5578 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1698, allocations: 1.064 MB / 0.5589 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1699, allocations: 3.938 kB / 0.5589 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.1703, allocations: 43.69 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.1707, allocations: 103.5 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.171, allocations: 99.69 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1713, allocations: 147.4 kB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1714, allocations: 21.55 kB / 0.5593 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1715, allocations: 63.7 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1717, allocations: 51.72 kB / 0.5594 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1717, allocations: 4 kB / 0.5594 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.1718, allocations: 55.91 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.1719, allocations: 27.86 kB / 0.5595 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.945e-05/0.172, allocations: 55.67 kB / 0.5595 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.1723, allocations: 151.3 kB / 0.5597 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1723, allocations: 0 / 0.5597 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1723, allocations: 0 / 0.5597 GB, free: 1.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1723, allocations: 0 / 0.5597 GB, free: 1.453 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008677/0.1732, allocations: 492.1 kB / 0.5601 GB, free: 0.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1733, allocations: 8.031 kB / 0.5601 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.1733, allocations: 20.83 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1737, allocations: 236.8 kB / 0.5604 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1737, allocations: 8.375 kB / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1737, allocations: 12.06 kB / 0.5604 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.174, allocations: 114.1 kB / 0.5605 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.174, allocations: 0 / 0.5605 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.174, allocations: 0 / 0.5605 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.1741, allocations: 4 kB / 0.5605 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1742, allocations: 55.91 kB / 0.5606 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.175, allocations: 0.4971 MB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.1754, allocations: 90.59 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1755, allocations: 32.84 kB / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1755, allocations: 0 / 0.5612 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1757, allocations: 83.36 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1757, allocations: 0 / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004566/0.1762, allocations: 145.8 kB / 0.5614 GB, free: 15.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1762, allocations: 63.28 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1765, allocations: 198.4 kB / 0.5616 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1765, allocations: 33.64 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1766, allocations: 120 kB / 0.5618 GB, free: 15.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1766, allocations: 31.73 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.1767, allocations: 29.7 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1769, allocations: 330.8 kB / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.177, allocations: 27.98 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1771, allocations: 64.39 kB / 0.5622 GB, free: 14.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1773, allocations: 100.2 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1773, allocations: 4 kB / 0.5623 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002999/0.1776, allocations: 133.4 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1776, allocations: 4 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1776, allocations: 8.109 kB / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1777, allocations: 11.92 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1778, allocations: 27.94 kB / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1778, allocations: 0 / 0.5625 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.1779, allocations: 11.94 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1779, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001401/0.178, allocations: 133.7 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.1781, allocations: 15.89 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.1781, allocations: 17.41 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1781, allocations: 11.94 kB / 0.5627 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1781, allocations: 3.938 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1781, allocations: 0 / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1784, allocations: 209.6 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1784, allocations: 0 / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.1784, allocations: 12 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1785, allocations: 96 / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1785, allocations: 3.938 kB / 0.5629 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1785, allocations: 3.938 kB / 0.5629 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1785, allocations: 4 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1789, allocations: 184.9 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.179, allocations: 89.05 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.179, allocations: 8 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.1791, allocations: 11.92 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1791, allocations: 4 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1791, allocations: 3.984 kB / 0.5632 GB, free: 13.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1793, allocations: 152.5 kB / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1793, allocations: 3.938 kB / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1795, allocations: 27.94 kB / 0.5634 GB, free: 13.24 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001608/0.1811, allocations: 408.2 kB / 0.5638 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.1814, allocations: 71.89 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1814, allocations: 256 / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1816, allocations: 39.92 kB / 0.5639 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1819, allocations: 51.64 kB / 0.5639 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005946/0.1825, allocations: 267.2 kB / 0.5642 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1829, allocations: 0.7162 MB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.472e-05/0.1829, allocations: 13.42 kB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.183, allocations: 19.44 kB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.183, allocations: 0 / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of Templates: time 0.005974/0.1889, allocations: 1.918 MB / 0.5668 GB, free: 9.879 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.343751143664122]