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.AssignClockToTriggerHold.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.001331/0.001331, 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.00176/0.00176, allocations: 213.7 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.605/1.605, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [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.002027/0.002027, allocations: 68.77 kB / 379.1 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4009, allocations: 53.37 MB / 432.4 MB, free: 6.98 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003666/0.4045, allocations: 1.672 MB / 434.1 MB, free: 5.305 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001293/0.4058, allocations: 0.588 MB / 434.7 MB, free: 4.711 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.4059, allocations: 3.938 kB / 434.7 MB, free: 4.707 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.406, allocations: 3.938 kB / 434.7 MB, free: 4.703 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.4061, allocations: 23.86 kB / 434.7 MB, free: 4.68 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.4065, allocations: 67.73 kB / 434.8 MB, free: 4.613 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001643/0.4067, allocations: 63.84 kB / 434.8 MB, free: 4.551 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4068, allocations: 24.16 kB / 434.9 MB, free: 4.523 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.407, allocations: 27.91 kB / 434.9 MB, free: 4.496 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.4071, allocations: 27.86 kB / 434.9 MB, free: 4.469 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4071, allocations: 7.938 kB / 434.9 MB, free: 4.461 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.628e-05/0.4071, allocations: 19.98 kB / 434.9 MB, free: 4.441 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.4072, allocations: 19.91 kB / 435 MB, free: 4.422 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.4072, allocations: 31.81 kB / 435 MB, free: 4.391 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.4075, allocations: 93.2 kB / 435.1 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4075, allocations: 0 / 435.1 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.954e-06/0.4075, allocations: 0 / 435.1 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.227e-05/0.4075, allocations: 0 / 435.1 MB, free: 4.305 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: 15
 * Number of variables: 15
Notification: Performance of Generate backend data structure: time 0.0006261/0.4081, allocations: 321.9 kB / 435.4 MB, free: 3.961 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4081, allocations: 8.031 kB / 435.4 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.4083, allocations: 24.83 kB / 435.4 MB, free: 3.93 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.4086, allocations: 150.9 kB / 435.6 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4086, allocations: 384 / 435.6 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4087, allocations: 20.06 kB / 435.6 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.409, allocations: 134.1 kB / 435.7 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.409, allocations: 4 kB / 435.7 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4091, allocations: 0 / 435.7 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4091, allocations: 3.938 kB / 435.7 MB, free: 3.582 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.4092, allocations: 35.97 kB / 435.8 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.4097, allocations: 276.6 kB / 436 MB, free: 3.23 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.4099, allocations: 73.3 kB / 436.1 MB, free: 3.141 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.332e-05/0.41, allocations: 37.62 kB / 436.2 MB, free: 3.098 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4101, allocations: 4.062 kB / 436.2 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.4102, allocations: 63.36 kB / 436.2 MB, free: 3.02 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.4102, allocations: 8 kB / 436.2 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0003699/0.4106, allocations: 117.7 kB / 436.3 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.4106, allocations: 89.09 kB / 436.4 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4108, allocations: 151.6 kB / 436.6 MB, free: 2.629 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4108, allocations: 29.7 kB / 436.6 MB, free: 2.594 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.4109, allocations: 88.14 kB / 436.7 MB, free: 2.504 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4109, allocations: 15.89 kB / 436.7 MB, free: 2.488 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.411, allocations: 37.67 kB / 436.7 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001575/0.4111, allocations: 322.8 kB / 437.1 MB, free: 2.121 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.4112, allocations: 19.98 kB / 437.1 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.4113, allocations: 61.08 kB / 437.1 MB, free: 2.023 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4115, allocations: 93.33 kB / 437.2 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4115, allocations: 0 / 437.2 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002129/0.4117, allocations: 117.5 kB / 437.3 MB, free: 1.793 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4117, allocations: 4 kB / 437.3 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4117, allocations: 4 kB / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4117, allocations: 0 / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4118, allocations: 23.92 kB / 437.4 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4118, allocations: 3.938 kB / 437.4 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.4119, allocations: 4 kB / 437.4 MB, free: 1.754 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4119, allocations: 4 kB / 437.4 MB, free: 1.75 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * Number of states: 0 ()
 * Number of discrete variables: 8 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (clockToTrigger.y2)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (12):
 * Single equations (assignments): 12
 * 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.0001454/0.412, allocations: 132.9 kB / 437.5 MB, free: 1.613 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.4121, allocations: 61.53 kB / 437.6 MB, free: 1.547 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.4122, allocations: 16.39 kB / 437.6 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4122, allocations: 0 / 437.6 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.4122, allocations: 3.938 kB / 437.6 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4122, allocations: 4 kB / 437.6 MB, free: 1.52 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.4127, allocations: 309.6 kB / 437.9 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4127, allocations: 0 / 437.9 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.4127, allocations: 15.92 kB / 437.9 MB, free: 1.152 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.4127, allocations: 11.94 kB / 437.9 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4127, allocations: 0 / 437.9 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4127, allocations: 0 / 437.9 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4127, allocations: 0 / 437.9 MB, free: 1.141 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.4131, allocations: 200.3 kB / 438.1 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.4131, allocations: 19.88 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.4131, allocations: 12.11 kB / 438.2 MB, free: 0.8945 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.4132, allocations: 4 kB / 438.2 MB, free: 0.8906 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.4132, allocations: 4 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4133, allocations: 11.98 kB / 438.2 MB, free: 0.875 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001277/0.4134, allocations: 103.3 kB / 438.3 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4134, allocations: 0 / 438.3 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002452/0.4136, allocations: 19.95 kB / 438.3 MB, free: 0.7539 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3)
 * Number of discrete states: 1 (clockToTrigger.y3)
 * Number of clocked states: 1 (clockToTrigger.y2)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001278/0.4138, allocations: 99.23 kB / 438.4 MB, free: 0.6484 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002871/0.414, allocations: 75.88 kB / 438.5 MB, free: 0.5742 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.414, allocations: 0 / 438.5 MB, free: 0.5742 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.4141, allocations: 15.98 kB / 438.5 MB, free: 0.5586 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.4145, allocations: 39 kB / 438.5 MB, free: 0.5234 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.4149, allocations: 216.5 kB / 438.7 MB, free: 288 kB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.4154, allocations: 0.7005 MB / 439.4 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.571e-05/0.4154, allocations: 12.42 kB / 439.4 MB, free: 15.54 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4154, allocations: 11.44 kB / 439.5 MB, free: 15.53 MB / 350.1 MB
Notification: Performance of SimCode: time 3.3e-07/0.4154, allocations: 0 / 439.5 MB, free: 15.53 MB / 350.1 MB
Notification: Performance of Templates: time 0.004198/0.4196, allocations: 0.8439 MB / 440.3 MB, free: 14.73 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.983079884201288]