Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002038/0.002038, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003214/0.003214, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 67.86 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1617, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003425/0.1651, allocations: 1.622 MB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1663, allocations: 0.5727 MB / 429.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.1665, allocations: 7.938 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.764e-05/0.1665, allocations: 3.938 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1667, allocations: 19.84 kB / 429.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.1671, allocations: 67.69 kB / 429.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1672, allocations: 55.73 kB / 429.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1674, allocations: 19.98 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1676, allocations: 31.84 kB / 429.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.1676, allocations: 23.86 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1677, allocations: 4 kB / 429.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.288e-05/0.1677, allocations: 12 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1678, allocations: 15.92 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.1678, allocations: 31.73 kB / 429.6 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.168, allocations: 71.66 kB / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.168, allocations: 0 / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.168, allocations: 0 / 429.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.168, allocations: 3.938 kB / 429.7 MB, free: 1.902 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006558/0.1687, allocations: 393.7 kB / 430.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1687, allocations: 12.03 kB / 430.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1689, allocations: 12.89 kB / 430.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1692, allocations: 211.5 kB / 430.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1692, allocations: 12.31 kB / 430.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1692, allocations: 8.125 kB / 430.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.1696, allocations: 134.7 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1696, allocations: 0 / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1696, allocations: 0 / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1696, allocations: 0 / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1697, allocations: 31.92 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1701, allocations: 291.4 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1703, allocations: 90.42 kB / 430.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.1704, allocations: 43.48 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1704, allocations: 3.938 kB / 430.9 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1704, allocations: 42.5 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1704, allocations: 0 / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003219/0.1707, allocations: 101.5 kB / 431.1 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.1709, allocations: 136.5 kB / 431.2 MB, free: 156 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1711, allocations: 147 kB / 431.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1711, allocations: 29.7 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.1712, allocations: 88.02 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1712, allocations: 11.95 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.1712, allocations: 25.66 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1714, allocations: 322.8 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.1715, allocations: 7.984 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1715, allocations: 48.28 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1716, allocations: 56.22 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1716, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001729/0.1718, allocations: 89.5 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1718, allocations: 4 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1718, allocations: 4.125 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1719, allocations: 0 / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.172, allocations: 23.98 kB / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.172, allocations: 0 / 432 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.172, allocations: 7.938 kB / 432.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.172, allocations: 8.094 kB / 432.1 MB, free: 15.22 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.000104/0.1721, allocations: 125.8 kB / 432.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.1722, allocations: 49.66 kB / 432.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/0.1723, allocations: 23.8 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1723, allocations: 4 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1723, allocations: 3.984 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1723, allocations: 3.938 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1725, allocations: 177.6 kB / 432.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1725, allocations: 0 / 432.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.1726, allocations: 16.06 kB / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1726, allocations: 0 / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1726, allocations: 3.984 kB / 432.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1726, allocations: 4 kB / 432.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1726, allocations: 3.938 kB / 432.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1728, allocations: 205.9 kB / 432.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.1729, allocations: 93.05 kB / 432.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.173, allocations: 4 kB / 432.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.173, allocations: 0 / 432.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.1731, allocations: 11.92 kB / 432.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1731, allocations: 4 kB / 432.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.1732, allocations: 114.4 kB / 432.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1732, allocations: 0 / 432.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.1734, allocations: 12 kB / 432.9 MB, free: 14.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001216/0.1735, allocations: 99.25 kB / 433 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1737, allocations: 43.86 kB / 433 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1737, allocations: 0 / 433 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.1738, allocations: 11.98 kB / 433.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1742, allocations: 40.38 kB / 433.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.1746, allocations: 205.5 kB / 433.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.175, allocations: 0.6924 MB / 434 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.628e-05/0.175, allocations: 12.25 kB / 434 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.1751, allocations: 15.42 kB / 434 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1751, allocations: 0 / 434 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.003854/0.1789, allocations: 0.7263 MB / 434.7 MB, free: 12.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.286576579324901]