Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001382/0.001382, allocations: 81.5 kB / 20.68 MB, free: 1.027 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.001349/0.001349, allocations: 146.3 kB / 23.93 MB, free: 4.176 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.44/1.44, allocations: 173.3 MB / 200.4 MB, free: 12.87 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.338e-05, allocations: 2.281 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002783/0.002816, allocations: 1.593 MB / 320.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008793/0.003696, allocations: 483.4 kB / 321 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.00379, allocations: 5.375 kB / 321 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.982e-05/0.003839, allocations: 5.016 kB / 321 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.003977, allocations: 19.84 kB / 321 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.004255, allocations: 59.72 kB / 321.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.004378, allocations: 51.19 kB / 321.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.004483, allocations: 20.44 kB / 321.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.004581, allocations: 31.45 kB / 321.2 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.004645, allocations: 19.62 kB / 321.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.004681, allocations: 7.453 kB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.004697, allocations: 3.719 kB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.004755, allocations: 10.69 kB / 321.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.004789, allocations: 15.58 kB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004945, allocations: 71.61 kB / 321.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004948, allocations: 3.938 kB / 321.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.004949, allocations: 5.719 kB / 321.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.00496, allocations: 0 / 321.3 MB, free: 1.98 MB / 286.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.0004332/0.005393, allocations: 311.2 kB / 321.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.00543, allocations: 10.02 kB / 321.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.005465, allocations: 10.22 kB / 321.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.005675, allocations: 140.8 kB / 321.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.005683, allocations: 5.312 kB / 321.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.005702, allocations: 3.844 kB / 321.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.005982, allocations: 139.5 kB / 321.9 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.005993, allocations: 3.938 kB / 321.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.006003, allocations: 1.469 kB / 321.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006008, allocations: 0 / 321.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.006116, allocations: 31.86 kB / 322 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.006376, allocations: 226.8 kB / 322.2 MB, free: 1.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006491, allocations: 102.1 kB / 322.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.006557, allocations: 44.47 kB / 322.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.006578, allocations: 6.141 kB / 322.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.006594, allocations: 33.88 kB / 322.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.006596, allocations: 1.188 kB / 322.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002909/0.006887, allocations: 108.4 kB / 322.5 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.006932, allocations: 139.2 kB / 322.6 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.007052, allocations: 140.8 kB / 322.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.007062, allocations: 26.89 kB / 322.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.007095, allocations: 91.14 kB / 322.9 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.00711, allocations: 6.328 kB / 322.9 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.00714, allocations: 14.45 kB / 322.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.007187, allocations: 322.1 kB / 323.2 MB, free: 180 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.007227, allocations: 8.312 kB / 323.2 MB, free: 180 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.007263, allocations: 25.73 kB / 323.2 MB, free: 156 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.007336, allocations: 32.38 kB / 323.3 MB, free: 136 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007337, allocations: 0 / 323.3 MB, free: 136 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.00745, allocations: 59.12 kB / 323.3 MB, free: 92 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.007464, allocations: 5.312 kB / 323.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007468, allocations: 0 / 323.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.007482, allocations: 2.141 kB / 323.3 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.007549, allocations: 12.86 kB / 323.3 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007554, allocations: 2.844 kB / 323.3 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.00759, allocations: 2.156 kB / 323.3 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.007598, allocations: 1.156 kB / 323.3 MB, free: 84 kB / 286.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 9.952e-05/0.007698, allocations: 126.1 kB / 323.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.921e-05/0.007797, allocations: 52.86 kB / 323.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.00784, allocations: 17.41 kB / 323.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007842, allocations: 1.25 kB / 323.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.007849, allocations: 6.844 kB / 323.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.007853, allocations: 5.312 kB / 323.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.008045, allocations: 123.1 kB / 323.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.008048, allocations: 1.797 kB / 323.7 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.008124, allocations: 19.97 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.008127, allocations: 2.375 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.008137, allocations: 2.062 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.008139, allocations: 1.125 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.008142, allocations: 1.672 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.008481, allocations: 199 kB / 323.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.008531, allocations: 30.83 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.008553, allocations: 7.375 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.00863, allocations: 2.938 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.008682, allocations: 3.172 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.008689, allocations: 2.875 kB / 323.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.00879, allocations: 116.1 kB / 324.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.00879, allocations: 0 / 324.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.009023, allocations: 6.031 kB / 324.1 MB, free: 15.46 MB / 302.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.0001248/0.009148, allocations: 96.08 kB / 324.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.009316, allocations: 43.03 kB / 324.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009319, allocations: 1.344 kB / 324.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.009364, allocations: 8.797 kB / 324.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.009782, allocations: 37.27 kB / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.01019, allocations: 197 kB / 324.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01029, allocations: 84.92 kB / 324.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.144e-05/0.01032, allocations: 2.875 kB / 324.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.01036, allocations: 12.44 kB / 324.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01036, allocations: 3.938 kB / 324.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of Templates: time 0.003767/0.01413, allocations: 0.7426 MB / 325.3 MB, free: 14.98 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.2437888495624065]