Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001418, allocations: 120 kB / 17.74 MB, free: 5.352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 182.9 kB / 20.68 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 222.9 MB / 246.4 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 48.06 kB / 358 MB, free: 8.473 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1608, allocations: 49.43 MB / 407.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003654/0.1645, allocations: 1.689 MB / 409.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.1652, allocations: 167.4 kB / 409.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1653, allocations: 4 kB / 409.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.248e-05/0.1654, allocations: 7.875 kB / 409.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1656, allocations: 11.94 kB / 409.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.1659, allocations: 47.83 kB / 409.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1661, allocations: 51.84 kB / 409.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1663, allocations: 27.98 kB / 409.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.1663, allocations: 19.92 kB / 409.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.1664, allocations: 27.84 kB / 409.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.1665, allocations: 8 kB / 409.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.723e-05/0.1665, allocations: 8 kB / 409.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.1665, allocations: 15.92 kB / 409.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.366e-05/0.1666, allocations: 35.75 kB / 409.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1668, allocations: 71.59 kB / 409.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.1668, allocations: 0 / 409.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1668, allocations: 0 / 409.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1668, allocations: 0 / 409.6 MB, free: 4.793 MB / 334.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.0006349/0.1674, allocations: 392.9 kB / 410 MB, free: 4.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1675, allocations: 16.03 kB / 410 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.1676, allocations: 16.78 kB / 410 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1679, allocations: 194.4 kB / 410.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1679, allocations: 8.312 kB / 410.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1679, allocations: 8.375 kB / 410.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1683, allocations: 166.3 kB / 410.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1683, allocations: 192 / 410.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1684, allocations: 3.938 kB / 410.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1684, allocations: 4 kB / 410.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1685, allocations: 43.91 kB / 410.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1689, allocations: 365.9 kB / 410.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1692, allocations: 115.8 kB / 410.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.1693, allocations: 58.62 kB / 411 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1694, allocations: 7.969 kB / 411 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1694, allocations: 34.56 kB / 411 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1694, allocations: 3.938 kB / 411 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003712/0.1698, allocations: 129.7 kB / 411.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1699, allocations: 110.8 kB / 411.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1701, allocations: 133.8 kB / 411.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1701, allocations: 29.7 kB / 411.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.1702, allocations: 88.08 kB / 411.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1702, allocations: 16.09 kB / 411.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.1702, allocations: 25.72 kB / 411.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1704, allocations: 326.8 kB / 411.9 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.1704, allocations: 11.98 kB / 411.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.1705, allocations: 71.67 kB / 411.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.1707, allocations: 95.53 kB / 412 MB, free: 2.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1707, allocations: 4 kB / 412 MB, free: 2.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001932/0.1709, allocations: 105.4 kB / 412.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1709, allocations: 5.875 kB / 412.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1709, allocations: 4 kB / 412.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.171, allocations: 4 kB / 412.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.1711, allocations: 24.27 kB / 412.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.1711, allocations: 7.938 kB / 412.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1711, allocations: 7.984 kB / 412.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1711, allocations: 4 kB / 412.2 MB, free: 1.871 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001068/0.1712, allocations: 125.8 kB / 412.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1714, allocations: 77.91 kB / 412.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.1714, allocations: 12.72 kB / 412.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1715, allocations: 0 / 412.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.1715, allocations: 0 / 412.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1715, allocations: 15.92 kB / 412.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1718, allocations: 185.5 kB / 412.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1718, allocations: 0 / 412.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.503e-05/0.1719, allocations: 19.98 kB / 412.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1719, allocations: 0 / 412.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1719, allocations: 4 kB / 412.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1719, allocations: 80 / 412.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.1719, allocations: 3.984 kB / 412.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.1723, allocations: 324.4 kB / 413 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.1724, allocations: 97 kB / 413 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.1725, allocations: 15.92 kB / 413.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.1726, allocations: 4 kB / 413.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1726, allocations: 4 kB / 413.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1726, allocations: 8 kB / 413.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.1727, allocations: 107.2 kB / 413.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1727, allocations: 0 / 413.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.173, allocations: 8 kB / 413.2 MB, free: 0.7695 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001263/0.1731, allocations: 106.1 kB / 413.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.1733, allocations: 68.22 kB / 413.4 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1733, allocations: 4.125 kB / 413.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.1734, allocations: 15.94 kB / 413.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.1739, allocations: 38.5 kB / 413.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.1743, allocations: 211.9 kB / 413.6 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.1747, allocations: 0.7081 MB / 414.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.1747, allocations: 4.672 kB / 414.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1748, allocations: 11.44 kB / 414.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1748, allocations: 0 / 414.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Templates: time 0.003699/0.1785, allocations: 0.6942 MB / 415 MB, free: 14.85 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 4.759297288022935]