Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002029/0.002029, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002023/0.002023, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.689/1.689, allocations: 230.3 MB / 258 MB, free: 8.234 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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4121, allocations: 53.36 MB / 432.1 MB, free: 7.066 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003499/0.4156, allocations: 1.671 MB / 433.8 MB, free: 5.395 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001213/0.4168, allocations: 0.592 MB / 434.4 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4169, allocations: 0 / 434.4 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.181e-05/0.4169, allocations: 11.86 kB / 434.4 MB, free: 4.785 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.4171, allocations: 11.88 kB / 434.4 MB, free: 4.773 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.4175, allocations: 67.75 kB / 434.5 MB, free: 4.707 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001413/0.4176, allocations: 71.75 kB / 434.5 MB, free: 4.637 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4177, allocations: 16.23 kB / 434.6 MB, free: 4.617 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.4179, allocations: 35.86 kB / 434.6 MB, free: 4.582 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.4179, allocations: 39.77 kB / 434.6 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.418, allocations: 4 kB / 434.6 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.418, allocations: 12 kB / 434.6 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.418, allocations: 19.92 kB / 434.7 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.4181, allocations: 35.73 kB / 434.7 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.4183, allocations: 81.33 kB / 434.8 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4183, allocations: 4 kB / 434.8 MB, free: 4.395 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.4183, allocations: 0 / 434.8 MB, free: 4.395 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.991e-06/0.4183, allocations: 4 kB / 434.8 MB, free: 4.391 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.0006234/0.4189, allocations: 325.8 kB / 435.1 MB, free: 4.043 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.419, allocations: 8.031 kB / 435.1 MB, free: 4.035 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.4192, allocations: 24.84 kB / 435.1 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4195, allocations: 146.5 kB / 435.3 MB, free: 3.848 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4195, allocations: 4.375 kB / 435.3 MB, free: 3.844 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.4195, allocations: 12.12 kB / 435.3 MB, free: 3.832 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.4198, allocations: 145 kB / 435.4 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4198, allocations: 7.875 kB / 435.4 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4199, allocations: 0 / 435.4 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.4199, allocations: 0 / 435.4 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.42, allocations: 35.98 kB / 435.5 MB, free: 3.629 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.4205, allocations: 272.7 kB / 435.8 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4207, allocations: 81.11 kB / 435.8 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.4208, allocations: 37.8 kB / 435.9 MB, free: 3.176 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.4208, allocations: 3.938 kB / 435.9 MB, free: 3.172 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.4209, allocations: 71.28 kB / 435.9 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.4209, allocations: 0 / 435.9 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.00035/0.4213, allocations: 117.5 kB / 436.1 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.4214, allocations: 85.11 kB / 436.1 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.4215, allocations: 153.7 kB / 436.3 MB, free: 2.707 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4215, allocations: 25.7 kB / 436.3 MB, free: 2.676 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.4216, allocations: 96.12 kB / 436.4 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4216, allocations: 11.97 kB / 436.4 MB, free: 2.566 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.4217, allocations: 33.66 kB / 436.5 MB, free: 2.527 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001634/0.4219, allocations: 318.8 kB / 436.8 MB, free: 2.207 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/0.4219, allocations: 27.98 kB / 436.8 MB, free: 2.18 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.422, allocations: 61.12 kB / 436.9 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.4222, allocations: 89.02 kB / 436.9 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4222, allocations: 0 / 436.9 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002813/0.4225, allocations: 113.5 kB / 437 MB, free: 1.879 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4225, allocations: 6.656 kB / 437.1 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4225, allocations: 4 kB / 437.1 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4225, allocations: 4.156 kB / 437.1 MB, free: 1.867 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.4226, allocations: 16.3 kB / 437.1 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4226, allocations: 3.938 kB / 437.1 MB, free: 1.848 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.4227, allocations: 4 kB / 437.1 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.4227, allocations: 19.92 kB / 437.1 MB, free: 1.824 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.0001224/0.4228, allocations: 125.7 kB / 437.2 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.4229, allocations: 57.64 kB / 437.3 MB, free: 1.629 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.4229, allocations: 12.41 kB / 437.3 MB, free: 1.613 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4229, allocations: 0 / 437.3 MB, free: 1.613 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.423, allocations: 7.938 kB / 437.3 MB, free: 1.605 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.423, allocations: 0 / 437.3 MB, free: 1.605 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.4234, allocations: 313.5 kB / 437.6 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4234, allocations: 0 / 437.6 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/0.4235, allocations: 15.98 kB / 437.6 MB, free: 1.234 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.4235, allocations: 7.938 kB / 437.6 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4235, allocations: 0 / 437.6 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.4235, allocations: 0 / 437.6 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4235, allocations: 7.938 kB / 437.6 MB, free: 1.219 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.4238, allocations: 200.3 kB / 437.8 MB, free: 1.004 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.4239, allocations: 20.11 kB / 437.9 MB, free: 0.9844 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.4239, allocations: 4 kB / 437.9 MB, free: 0.9805 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.424, allocations: 7.938 kB / 437.9 MB, free: 0.9727 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.424, allocations: 11.97 kB / 437.9 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.424, allocations: 4 kB / 437.9 MB, free: 0.957 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.19e-05/0.4241, allocations: 114.2 kB / 438 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.4241, allocations: 0 / 438 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000259/0.4244, allocations: 19.95 kB / 438 MB, free: 0.8281 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.0001264/0.4245, allocations: 95.25 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002285/0.4247, allocations: 63.91 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4247, allocations: 320 / 438.2 MB, free: 0.6641 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.4248, allocations: 23.92 kB / 438.2 MB, free: 0.6406 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4252, allocations: 35.94 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.4256, allocations: 207.8 kB / 438.4 MB, free: 384 kB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.426, allocations: 0.704 MB / 439.1 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.475e-05/0.4261, allocations: 8.438 kB / 439.1 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.4262, allocations: 11.44 kB / 439.2 MB, free: 15.62 MB / 350.1 MB
Notification: Performance of SimCode: time 4.11e-07/0.4262, allocations: 4 kB / 439.2 MB, free: 15.62 MB / 350.1 MB
Notification: Performance of Templates: time 0.003838/0.43, allocations: 0.8461 MB / 440 MB, free: 14.79 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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: 5.217488136142492]