Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001409/0.001409, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001815/0.001815, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.632/1.632, allocations: 230.6 MB / 258.3 MB, free: 8.055 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.77 kB / 379 MB, free: 2.656 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003814/0.335, allocations: 1.629 MB / 434 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001439/0.3364, allocations: 0.5842 MB / 434.6 MB, free: 4.723 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3365, allocations: 7.938 kB / 434.6 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.4e-05/0.3366, allocations: 3.938 kB / 434.6 MB, free: 4.711 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.3368, allocations: 15.86 kB / 434.7 MB, free: 4.695 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.3372, allocations: 63.81 kB / 434.7 MB, free: 4.633 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3374, allocations: 55.78 kB / 434.8 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3375, allocations: 11.98 kB / 434.8 MB, free: 4.566 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3376, allocations: 39.84 kB / 434.8 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.3377, allocations: 19.86 kB / 434.8 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3377, allocations: 4 kB / 434.8 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/0.3378, allocations: 8 kB / 434.9 MB, free: 4.496 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.3378, allocations: 15.92 kB / 434.9 MB, free: 4.48 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.3379, allocations: 39.69 kB / 434.9 MB, free: 4.441 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3381, allocations: 73.28 kB / 435 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3381, allocations: 0 / 435 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.124e-06/0.3381, allocations: 0 / 435 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.023e-06/0.3381, allocations: 0 / 435 MB, free: 4.375 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.0006446/0.3388, allocations: 313.9 kB / 435.3 MB, free: 4.039 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3388, allocations: 8.031 kB / 435.3 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.339, allocations: 20.88 kB / 435.3 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3394, allocations: 154.8 kB / 435.5 MB, free: 3.836 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3394, allocations: 384 / 435.5 MB, free: 3.836 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3394, allocations: 12.12 kB / 435.5 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3397, allocations: 130.7 kB / 435.6 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3398, allocations: 4 kB / 435.6 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3398, allocations: 0 / 435.6 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.3398, allocations: 3.984 kB / 435.6 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.3399, allocations: 27.92 kB / 435.6 MB, free: 3.637 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3403, allocations: 262.5 kB / 435.9 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3405, allocations: 94.3 kB / 436 MB, free: 3.199 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.3406, allocations: 47.55 kB / 436 MB, free: 3.141 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.3406, allocations: 7.984 kB / 436 MB, free: 3.133 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3407, allocations: 30.56 kB / 436.1 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3407, allocations: 0 / 436.1 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003659/0.341, allocations: 105.9 kB / 436.2 MB, free: 2.984 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.3412, allocations: 140.5 kB / 436.3 MB, free: 2.816 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3414, allocations: 148.3 kB / 436.5 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3414, allocations: 25.7 kB / 436.5 MB, free: 2.625 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.3415, allocations: 92.08 kB / 436.6 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3415, allocations: 7.953 kB / 436.6 MB, free: 2.523 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.3416, allocations: 29.66 kB / 436.6 MB, free: 2.488 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000171/0.3417, allocations: 314.9 kB / 436.9 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.3418, allocations: 15.98 kB / 436.9 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/0.3419, allocations: 40.28 kB / 437 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.342, allocations: 64.34 kB / 437 MB, free: 2.023 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.342, allocations: 4 kB / 437 MB, free: 2.02 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001787/0.3422, allocations: 81.5 kB / 437.1 MB, free: 1.934 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3422, allocations: 10.5 kB / 437.1 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3422, allocations: 8.094 kB / 437.1 MB, free: 1.918 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3422, allocations: 4 kB / 437.1 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.3423, allocations: 11.98 kB / 437.2 MB, free: 1.902 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3423, allocations: 0 / 437.2 MB, free: 1.902 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.3424, allocations: 11.94 kB / 437.2 MB, free: 1.891 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3424, allocations: 7.984 kB / 437.2 MB, free: 1.883 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.0001135/0.3425, allocations: 121.8 kB / 437.3 MB, free: 1.754 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.3426, allocations: 57.59 kB / 437.3 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.3426, allocations: 23.97 kB / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3426, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3426, allocations: 0 / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3427, allocations: 7.938 kB / 437.4 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.3429, allocations: 148.7 kB / 437.5 MB, free: 1.469 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3429, allocations: 3.938 kB / 437.5 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.3429, allocations: 12 kB / 437.5 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3429, allocations: 0 / 437.5 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.343, allocations: 7.984 kB / 437.5 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.343, allocations: 0 / 437.5 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.343, allocations: 4 kB / 437.6 MB, free: 1.441 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3432, allocations: 201.9 kB / 437.8 MB, free: 1.219 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3433, allocations: 23.88 kB / 437.8 MB, free: 1.195 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3433, allocations: 0 / 437.8 MB, free: 1.195 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3434, allocations: 8 kB / 437.8 MB, free: 1.188 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.3434, allocations: 3.938 kB / 437.8 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3434, allocations: 8 kB / 437.8 MB, free: 1.176 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001131/0.3435, allocations: 114.4 kB / 437.9 MB, free: 1.066 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.3435, allocations: 0 / 437.9 MB, free: 1.066 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002424/0.3438, allocations: 8 kB / 437.9 MB, free: 1.059 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.0001186/0.3439, allocations: 101.6 kB / 438 MB, free: 0.9531 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002121/0.3441, allocations: 39.92 kB / 438.1 MB, free: 0.9141 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3441, allocations: 4 kB / 438.1 MB, free: 0.9102 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.819e-05/0.3442, allocations: 15.92 kB / 438.1 MB, free: 0.8945 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.3446, allocations: 38.81 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.3451, allocations: 214.4 kB / 438.3 MB, free: 0.6172 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.3456, allocations: 0.6963 MB / 439 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.458e-05/0.3456, allocations: 7.938 kB / 439 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.3457, allocations: 11.44 kB / 439 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3457, allocations: 0 / 439 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of Templates: time 0.004015/0.3497, allocations: 0.7438 MB / 439.8 MB, free: 15.14 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.995805462822318]