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.002049/0.002049, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.002349/0.002349, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.605/1.605, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.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 0.001585/0.001585, allocations: 43.92 kB / 370.9 MB, free: 9.324 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3002, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004024/0.3042, allocations: 1.647 MB / 424.8 MB, free: 13 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001382/0.3056, allocations: 0.5025 MB / 425.3 MB, free: 12.5 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3058, allocations: 0 / 425.3 MB, free: 12.5 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.329e-05/0.3058, allocations: 11.86 kB / 425.3 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.3061, allocations: 11.94 kB / 425.3 MB, free: 12.47 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.3064, allocations: 51.77 kB / 425.3 MB, free: 12.42 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000204/0.3066, allocations: 63.77 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3068, allocations: 11.98 kB / 425.4 MB, free: 12.35 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3069, allocations: 27.86 kB / 425.4 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.307, allocations: 23.86 kB / 425.5 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3e-05/0.3071, allocations: 4 kB / 425.5 MB, free: 12.29 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.3071, allocations: 4 kB / 425.5 MB, free: 12.29 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.3071, allocations: 15.92 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3072, allocations: 31.8 kB / 425.5 MB, free: 12.24 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.3074, allocations: 72.88 kB / 425.6 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3074, allocations: 0 / 425.6 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.534e-06/0.3074, allocations: 0 / 425.6 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 9.177e-06/0.3074, allocations: 0 / 425.6 MB, free: 12.18 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.000726/0.3082, allocations: 309.9 kB / 425.9 MB, free: 11.84 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.3082, allocations: 11.97 kB / 425.9 MB, free: 11.83 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.3083, allocations: 20.84 kB / 425.9 MB, free: 11.81 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.3087, allocations: 138.9 kB / 426.1 MB, free: 11.65 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.3087, allocations: 8.375 kB / 426.1 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3087, allocations: 4.125 kB / 426.1 MB, free: 11.64 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.3091, allocations: 130.7 kB / 426.2 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3091, allocations: 4 kB / 426.2 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3091, allocations: 8 kB / 426.2 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3091, allocations: 0 / 426.2 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3092, allocations: 27.92 kB / 426.2 MB, free: 11.45 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.3097, allocations: 254.6 kB / 426.5 MB, free: 11.15 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3098, allocations: 98.36 kB / 426.6 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3099, allocations: 39.48 kB / 426.6 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3099, allocations: 7.938 kB / 426.6 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.31, allocations: 38.56 kB / 426.7 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.31, allocations: 0 / 426.7 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003355/0.3103, allocations: 101.9 kB / 426.8 MB, free: 10.8 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3104, allocations: 132.6 kB / 426.9 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3106, allocations: 151.4 kB / 427.1 MB, free: 10.49 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3106, allocations: 29.64 kB / 427.1 MB, free: 10.45 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.3107, allocations: 100 kB / 427.2 MB, free: 10.35 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3107, allocations: 7.938 kB / 427.2 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.3108, allocations: 21.72 kB / 427.2 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001794/0.3109, allocations: 318.8 kB / 427.5 MB, free: 9.996 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.311, allocations: 11.98 kB / 427.5 MB, free: 9.984 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.3111, allocations: 40.28 kB / 427.6 MB, free: 9.93 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3112, allocations: 64.22 kB / 427.6 MB, free: 9.852 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3112, allocations: 3.938 kB / 427.6 MB, free: 9.848 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001955/0.3114, allocations: 85.5 kB / 427.7 MB, free: 9.758 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3114, allocations: 4 kB / 427.7 MB, free: 9.754 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3114, allocations: 0 / 427.7 MB, free: 9.754 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.3114, allocations: 8.156 kB / 427.7 MB, free: 9.746 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3116, allocations: 15.98 kB / 427.7 MB, free: 9.73 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3116, allocations: 4 kB / 427.8 MB, free: 9.727 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.3116, allocations: 7.875 kB / 427.8 MB, free: 9.719 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3116, allocations: 4 kB / 427.8 MB, free: 9.715 MB / 334.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.0001575/0.3118, allocations: 125.8 kB / 427.9 MB, free: 9.582 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3119, allocations: 53.66 kB / 427.9 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.312, allocations: 15.95 kB / 428 MB, free: 9.504 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.312, allocations: 4.062 kB / 428 MB, free: 9.5 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.312, allocations: 4 kB / 428 MB, free: 9.496 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.312, allocations: 3.938 kB / 428 MB, free: 9.492 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3123, allocations: 144.7 kB / 428.1 MB, free: 9.309 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3123, allocations: 0 / 428.1 MB, free: 9.309 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.3124, allocations: 15.94 kB / 428.1 MB, free: 9.293 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3124, allocations: 3.984 kB / 428.1 MB, free: 9.289 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3124, allocations: 8.125 kB / 428.1 MB, free: 9.281 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3124, allocations: 0 / 428.1 MB, free: 9.281 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3124, allocations: 0 / 428.1 MB, free: 9.281 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.3127, allocations: 202 kB / 428.3 MB, free: 9.059 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.3128, allocations: 23.88 kB / 428.4 MB, free: 9.035 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3128, allocations: 0 / 428.4 MB, free: 9.035 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.3129, allocations: 7.984 kB / 428.4 MB, free: 9.027 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.3129, allocations: 11.94 kB / 428.4 MB, free: 9.016 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3129, allocations: 7.984 kB / 428.4 MB, free: 9.008 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001219/0.3131, allocations: 112.7 kB / 428.5 MB, free: 8.898 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3131, allocations: 0 / 428.5 MB, free: 8.898 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002614/0.3133, allocations: 4 kB / 428.5 MB, free: 8.895 MB / 334.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.0002025/0.3135, allocations: 103.2 kB / 428.6 MB, free: 8.785 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002433/0.3138, allocations: 43.98 kB / 428.6 MB, free: 8.742 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.477e-06/0.3138, allocations: 4 kB / 428.6 MB, free: 8.738 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.3138, allocations: 15.92 kB / 428.7 MB, free: 8.723 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.3143, allocations: 31.77 kB / 428.7 MB, free: 8.695 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.3148, allocations: 206.4 kB / 428.9 MB, free: 8.457 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3152, allocations: 0.7 MB / 429.6 MB, free: 7.73 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 4.332e-05/0.3153, allocations: 4 kB / 429.6 MB, free: 7.727 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.3153, allocations: 11.44 kB / 429.6 MB, free: 7.715 MB / 334.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3153, allocations: 0 / 429.6 MB, free: 7.715 MB / 334.1 MB
Notification: Performance of Templates: time 0.003806/0.3191, allocations: 0.7615 MB / 430.4 MB, free: 6.965 MB / 334.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.802001657895744]