Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001765/0.001765, 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.002352/0.002352, 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.616/1.616, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 51.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 53.33 MB / 426.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003963/0.1575, allocations: 1.574 MB / 428.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1587, allocations: 0.5376 MB / 428.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.1588, allocations: 4 kB / 428.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.856e-05/0.1589, allocations: 7.938 kB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.159, allocations: 7.875 kB / 428.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1594, allocations: 55.81 kB / 429 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1595, allocations: 39.86 kB / 429 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1596, allocations: 11.98 kB / 429 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1597, allocations: 27.86 kB / 429.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.1598, allocations: 11.92 kB / 429.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1598, allocations: 4 kB / 429.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.1599, allocations: 8 kB / 429.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.1599, allocations: 19.92 kB / 429.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.16, allocations: 23.8 kB / 429.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1601, allocations: 51.75 kB / 429.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1601, allocations: 3.984 kB / 429.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1601, allocations: 0 / 429.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1601, allocations: 0 / 429.2 MB, free: 1.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006458/0.1608, allocations: 367.2 kB / 429.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1608, allocations: 15.97 kB / 429.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.161, allocations: 16.88 kB / 429.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1613, allocations: 208.1 kB / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1613, allocations: 384 / 429.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1613, allocations: 4.375 kB / 429.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.1616, allocations: 93.36 kB / 429.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1616, allocations: 7.938 kB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1616, allocations: 0 / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1616, allocations: 4 kB / 429.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.1617, allocations: 15.98 kB / 429.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1621, allocations: 265.7 kB / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1622, allocations: 45.16 kB / 430.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.1623, allocations: 21.77 kB / 430.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1623, allocations: 0 / 430.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.1623, allocations: 34.56 kB / 430.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.1623, allocations: 3.938 kB / 430.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000311/0.1627, allocations: 65.72 kB / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.1627, allocations: 85.05 kB / 430.4 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1629, allocations: 143.9 kB / 430.6 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1629, allocations: 25.7 kB / 430.6 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.163, allocations: 84.14 kB / 430.7 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.163, allocations: 4 kB / 430.7 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.1631, allocations: 17.67 kB / 430.7 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1632, allocations: 323 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.1633, allocations: 4 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.1633, allocations: 21.7 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.712e-05/0.1634, allocations: 33.64 kB / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1634, allocations: 0 / 431.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001272/0.1635, allocations: 57.69 kB / 431.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1636, allocations: 8 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1636, allocations: 0 / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.1636, allocations: 0 / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.1637, allocations: 11.92 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1637, allocations: 0 / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.1637, allocations: 4 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1637, allocations: 0 / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001292/0.1639, allocations: 129.7 kB / 431.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.1639, allocations: 41.64 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.164, allocations: 11.88 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.164, allocations: 0 / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.164, allocations: 0 / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.164, allocations: 0 / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1642, allocations: 169.6 kB / 431.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1642, allocations: 0 / 431.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.1643, allocations: 11.98 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1643, allocations: 8.016 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1643, allocations: 4 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1643, allocations: 4 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1643, allocations: 3.938 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1645, allocations: 164.2 kB / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.1646, allocations: 93.05 kB / 431.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.1646, allocations: 4.031 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1647, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1647, allocations: 4 kB / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1647, allocations: 0 / 431.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001/0.1648, allocations: 109.1 kB / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1648, allocations: 0 / 431.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1651, allocations: 4 kB / 431.9 MB, free: 14.82 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0001511/0.1652, allocations: 99.78 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1654, allocations: 27.92 kB / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1654, allocations: 0 / 432 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.1654, allocations: 11.98 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.1658, allocations: 15.97 kB / 432 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.1662, allocations: 159.7 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.1666, allocations: 0.6963 MB / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.1667, allocations: 0 / 432.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.1667, allocations: 11.44 kB / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1667, allocations: 3.938 kB / 432.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Templates: time 0.003483/0.1702, allocations: 480.7 kB / 433.4 MB, free: 13.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.995847649872303]