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.AssignClock.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.001854/0.001854, 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.002233/0.002233, 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.588/1.588, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [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.001977/0.001977, allocations: 64.77 kB / 379 MB, free: 2.75 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002592/0.3607, allocations: 0.9664 MB / 433.4 MB, free: 6.016 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003746/0.3611, allocations: 115.5 kB / 433.5 MB, free: 5.902 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.3612, allocations: 4 kB / 433.5 MB, free: 5.898 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.3612, allocations: 3.938 kB / 433.5 MB, free: 5.895 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.3614, allocations: 15.86 kB / 433.5 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.3616, allocations: 35.91 kB / 433.6 MB, free: 5.844 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3617, allocations: 43.84 kB / 433.6 MB, free: 5.801 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3619, allocations: 16.19 kB / 433.6 MB, free: 5.781 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.3619, allocations: 15.92 kB / 433.6 MB, free: 5.766 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.362, allocations: 23.86 kB / 433.7 MB, free: 5.742 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.362, allocations: 4 kB / 433.7 MB, free: 5.738 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.362, allocations: 4 kB / 433.7 MB, free: 5.734 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.3621, allocations: 15.92 kB / 433.7 MB, free: 5.719 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.3621, allocations: 23.81 kB / 433.7 MB, free: 5.695 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.3622, allocations: 59.39 kB / 433.8 MB, free: 5.641 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3623, allocations: 4 kB / 433.8 MB, free: 5.637 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.172e-06/0.3623, allocations: 0 / 433.8 MB, free: 5.637 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.541e-06/0.3623, allocations: 0 / 433.8 MB, free: 5.637 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0005035/0.3628, allocations: 296 kB / 434.1 MB, free: 5.32 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3628, allocations: 8.031 kB / 434.1 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.3629, allocations: 12.89 kB / 434.1 MB, free: 5.301 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.3631, allocations: 145.1 kB / 434.2 MB, free: 5.137 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.3631, allocations: 12.31 kB / 434.2 MB, free: 5.125 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3631, allocations: 4.375 kB / 434.2 MB, free: 5.121 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.3634, allocations: 135.7 kB / 434.4 MB, free: 4.977 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3634, allocations: 3.938 kB / 434.4 MB, free: 4.973 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3634, allocations: 0 / 434.4 MB, free: 4.973 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3634, allocations: 7.938 kB / 434.4 MB, free: 4.965 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.3635, allocations: 12 kB / 434.4 MB, free: 4.953 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.3637, allocations: 148.7 kB / 434.5 MB, free: 4.766 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3638, allocations: 58.72 kB / 434.6 MB, free: 4.699 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.3639, allocations: 36.88 kB / 434.6 MB, free: 4.66 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3639, allocations: 7.938 kB / 434.6 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3639, allocations: 38.56 kB / 434.7 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.3639, allocations: 0 / 434.7 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0002164/0.3641, allocations: 93.72 kB / 434.8 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.3642, allocations: 51.41 kB / 434.8 MB, free: 4.445 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3643, allocations: 141.8 kB / 434.9 MB, free: 4.297 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3643, allocations: 25.7 kB / 435 MB, free: 4.266 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.3644, allocations: 84.14 kB / 435.1 MB, free: 4.18 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3644, allocations: 11.94 kB / 435.1 MB, free: 4.168 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3644, allocations: 21.7 kB / 435.1 MB, free: 4.141 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001339/0.3646, allocations: 318.8 kB / 435.4 MB, free: 3.82 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.3646, allocations: 7.938 kB / 435.4 MB, free: 3.812 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.754e-05/0.3647, allocations: 66.86 kB / 435.5 MB, free: 3.723 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.3647, allocations: 74.75 kB / 435.5 MB, free: 3.625 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3647, allocations: 0 / 435.5 MB, free: 3.625 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.000126/0.3649, allocations: 85.5 kB / 435.6 MB, free: 3.535 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3649, allocations: 11.94 kB / 435.6 MB, free: 3.523 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3649, allocations: 4.25 kB / 435.6 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.3649, allocations: 7.938 kB / 435.7 MB, free: 3.512 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.365, allocations: 19.98 kB / 435.7 MB, free: 3.492 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.365, allocations: 7.938 kB / 435.7 MB, free: 3.484 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.365, allocations: 7.953 kB / 435.7 MB, free: 3.477 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.365, allocations: 4 kB / 435.7 MB, free: 3.473 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (unitDelay1.u)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 9
 * 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.639e-05/0.3651, allocations: 117.8 kB / 435.8 MB, free: 3.348 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.3652, allocations: 77.58 kB / 435.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3653, allocations: 12.72 kB / 435.9 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3653, allocations: 4.188 kB / 435.9 MB, free: 3.246 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3653, allocations: 4 kB / 435.9 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3653, allocations: 7.922 kB / 435.9 MB, free: 3.234 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.3654, allocations: 136.7 kB / 436 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3654, allocations: 0 / 436 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.3655, allocations: 15.98 kB / 436.1 MB, free: 3.043 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3655, allocations: 3.938 kB / 436.1 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.3655, allocations: 0 / 436.1 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3655, allocations: 0 / 436.1 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3655, allocations: 7.938 kB / 436.1 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.3656, allocations: 101.1 kB / 436.2 MB, free: 2.914 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.3656, allocations: 19.81 kB / 436.2 MB, free: 2.895 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3657, allocations: 4 kB / 436.2 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.3657, allocations: 4 kB / 436.2 MB, free: 2.887 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-06/0.3657, allocations: 0 / 436.2 MB, free: 2.887 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3657, allocations: 0 / 436.2 MB, free: 2.887 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 7.641e-05/0.3658, allocations: 106.4 kB / 436.3 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3658, allocations: 0 / 436.3 MB, free: 2.785 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001921/0.3659, allocations: 16 kB / 436.3 MB, free: 2.77 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (unitDelay1.u)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 8
 * 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.0001049/0.3661, allocations: 95.23 kB / 436.4 MB, free: 2.668 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001345/0.3662, allocations: 51.84 kB / 436.5 MB, free: 2.617 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3662, allocations: 0 / 436.5 MB, free: 2.617 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3662, allocations: 0 / 436.5 MB, free: 2.617 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3665, allocations: 36 kB / 436.5 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.3668, allocations: 170 kB / 436.7 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3671, allocations: 0.6962 MB / 437.4 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.845e-05/0.3672, allocations: 7.938 kB / 437.4 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3672, allocations: 11.44 kB / 437.4 MB, free: 1.645 MB / 334.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3672, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.1 MB
Notification: Performance of Templates: time 0.003335/0.3705, allocations: 0.675 MB / 438.1 MB, free: 0.9727 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.9903813153505325]