Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.002136/0.002136, allocations: 124.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.002583/0.002583, allocations: 199.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.646/1.646, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 55.91 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1582, allocations: 53.32 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.004042/0.1622, allocations: 1.595 MB / 428.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1636, allocations: 0.5688 MB / 429 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1638, allocations: 3.938 kB / 429 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.707e-05/0.1638, allocations: 3.938 kB / 429 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.164, allocations: 19.86 kB / 429 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.1644, allocations: 59.81 kB / 429.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1646, allocations: 51.78 kB / 429.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1648, allocations: 8.188 kB / 429.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.165, allocations: 27.91 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.165, allocations: 27.8 kB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1651, allocations: 4 kB / 429.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.1651, allocations: 8 kB / 429.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.1652, allocations: 15.92 kB / 429.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.1653, allocations: 27.8 kB / 429.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1655, allocations: 63.67 kB / 429.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1655, allocations: 0 / 429.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1655, allocations: 4 kB / 429.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1655, allocations: 0 / 429.3 MB, free: 1.805 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008232/0.1663, allocations: 379 kB / 429.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.1664, allocations: 16.03 kB / 429.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.1666, allocations: 16.83 kB / 429.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.167, allocations: 204.8 kB / 429.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.167, allocations: 4.312 kB / 429.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.167, allocations: 7.938 kB / 429.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.1674, allocations: 121.9 kB / 430 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1675, allocations: 0 / 430 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1675, allocations: 0 / 430 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1675, allocations: 0 / 430 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.1676, allocations: 19.98 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.168, allocations: 290.5 kB / 430.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1682, allocations: 59.8 kB / 430.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.1683, allocations: 38.62 kB / 430.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1683, allocations: 3.984 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.1684, allocations: 30.56 kB / 430.5 MB, free: 440 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.1684, allocations: 0 / 430.5 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003896/0.1688, allocations: 93.75 kB / 430.6 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1689, allocations: 114.9 kB / 430.7 MB, free: 200 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.169, allocations: 143.8 kB / 430.8 MB, free: 48 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1691, allocations: 25.7 kB / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1692, allocations: 92.12 kB / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.1692, allocations: 4 kB / 430.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.1692, allocations: 21.67 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1694, allocations: 318.8 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.1695, allocations: 12 kB / 431.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.1696, allocations: 27.42 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1697, allocations: 55.36 kB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1697, allocations: 0 / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001709/0.1699, allocations: 69.55 kB / 431.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1699, allocations: 10.12 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1699, allocations: 4 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1699, allocations: 0 / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.17, allocations: 11.98 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.17, allocations: 4.125 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.1701, allocations: 7.938 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1701, allocations: 4 kB / 431.5 MB, free: 15.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001218/0.1702, allocations: 121.8 kB / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.1703, allocations: 57.53 kB / 431.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1703, allocations: 7.969 kB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1704, allocations: 3.984 kB / 431.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.1704, allocations: 7.984 kB / 431.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.1704, allocations: 8 kB / 431.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.1706, allocations: 173.7 kB / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1706, allocations: 0 / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.1707, allocations: 11.98 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1707, allocations: 0 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1707, allocations: 0 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1707, allocations: 3.938 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1707, allocations: 4 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.171, allocations: 177.1 kB / 432 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.476e-05/0.1711, allocations: 93.05 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1711, allocations: 8 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.1712, allocations: 3.938 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1712, allocations: 7.922 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1712, allocations: 8 kB / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.872e-05/0.1713, allocations: 114.3 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1713, allocations: 0 / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1716, allocations: 4 kB / 432.3 MB, free: 14.43 MB / 366.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 (4): * Single equations (assignments): 4 * 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.0001615/0.1717, allocations: 103.2 kB / 432.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1719, allocations: 35.92 kB / 432.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1719, allocations: 0 / 432.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.362e-05/0.172, allocations: 8.234 kB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1724, allocations: 28.08 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.1729, allocations: 184.2 kB / 432.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1734, allocations: 0.6924 MB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.11e-05/0.1734, allocations: 8.125 kB / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1735, allocations: 11.44 kB / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1735, allocations: 0 / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004886/0.1783, allocations: 0.6448 MB / 434 MB, free: 12.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.260885130614042]