Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001625/0.001625, allocations: 106.5 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.001771/0.001771, allocations: 212 kB / 24.54 MB, free: 4.016 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.677/1.677, allocations: 230.3 MB / 258 MB, free: 8.242 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3453, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003405/0.3487, allocations: 0.9739 MB / 433.1 MB, free: 6.117 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000579/0.3493, allocations: 119.5 kB / 433.2 MB, free: 6 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3495, allocations: 4 kB / 433.2 MB, free: 5.996 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.815e-05/0.3495, allocations: 3.938 kB / 433.2 MB, free: 5.992 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3497, allocations: 7.875 kB / 433.2 MB, free: 5.984 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.3501, allocations: 39.89 kB / 433.3 MB, free: 5.945 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3503, allocations: 47.84 kB / 433.3 MB, free: 5.898 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.3504, allocations: 16.17 kB / 433.3 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.3505, allocations: 15.92 kB / 433.3 MB, free: 5.863 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.3506, allocations: 23.86 kB / 433.4 MB, free: 5.84 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3506, allocations: 4 kB / 433.4 MB, free: 5.836 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.3506, allocations: 7.938 kB / 433.4 MB, free: 5.828 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.3507, allocations: 15.94 kB / 433.4 MB, free: 5.812 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.3507, allocations: 23.8 kB / 433.4 MB, free: 5.789 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3509, allocations: 61.36 kB / 433.5 MB, free: 5.734 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3509, allocations: 0 / 433.5 MB, free: 5.734 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.3509, allocations: 4 kB / 433.5 MB, free: 5.73 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.994e-06/0.3509, allocations: 0 / 433.5 MB, free: 5.73 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.0006017/0.3515, allocations: 294.1 kB / 433.8 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 0.0001302/0.3517, allocations: 12.03 kB / 433.8 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3517, allocations: 12.89 kB / 433.8 MB, free: 5.391 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.352, allocations: 134.3 kB / 433.9 MB, free: 5.234 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3521, allocations: 4.375 kB / 433.9 MB, free: 5.23 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.3521, allocations: 4.375 kB / 433.9 MB, free: 5.227 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.3524, allocations: 131.8 kB / 434.1 MB, free: 5.086 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.3525, allocations: 3.938 kB / 434.1 MB, free: 5.082 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3525, allocations: 4 kB / 434.1 MB, free: 5.078 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3525, allocations: 3.938 kB / 434.1 MB, free: 5.074 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.778e-05/0.3526, allocations: 19.98 kB / 434.1 MB, free: 5.055 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.3528, allocations: 144.7 kB / 434.2 MB, free: 4.871 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.353, allocations: 58.72 kB / 434.3 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.353, allocations: 36.89 kB / 434.3 MB, free: 4.766 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3531, allocations: 7.938 kB / 434.3 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3531, allocations: 34.56 kB / 434.4 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.3531, allocations: 0 / 434.4 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0002846/0.3534, allocations: 85.58 kB / 434.5 MB, free: 4.625 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.3535, allocations: 59.41 kB / 434.5 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3537, allocations: 140.6 kB / 434.7 MB, free: 4.41 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3537, allocations: 25.7 kB / 434.7 MB, free: 4.379 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.3538, allocations: 88.12 kB / 434.8 MB, free: 4.289 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3538, allocations: 7.938 kB / 434.8 MB, free: 4.281 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.3538, allocations: 17.72 kB / 434.8 MB, free: 4.258 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003889/0.3542, allocations: 322.8 kB / 435.1 MB, free: 3.934 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3542, allocations: 11.94 kB / 435.1 MB, free: 3.922 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.3543, allocations: 58.86 kB / 435.2 MB, free: 3.84 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3544, allocations: 74.75 kB / 435.2 MB, free: 3.742 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.3545, allocations: 4 kB / 435.2 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002149/0.3547, allocations: 89.69 kB / 435.3 MB, free: 3.645 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3547, allocations: 11.94 kB / 435.3 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3547, allocations: 8.188 kB / 435.4 MB, free: 3.625 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.3547, allocations: 7.938 kB / 435.4 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.3548, allocations: 12 kB / 435.4 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3548, allocations: 7.938 kB / 435.4 MB, free: 3.598 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.3549, allocations: 7.938 kB / 435.4 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3549, allocations: 8 kB / 435.4 MB, free: 3.582 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 0.0001431/0.355, allocations: 121.8 kB / 435.5 MB, free: 3.453 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3551, allocations: 77.72 kB / 435.6 MB, free: 3.371 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.3552, allocations: 12.72 kB / 435.6 MB, free: 3.355 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3552, allocations: 4 kB / 435.6 MB, free: 3.352 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3552, allocations: 0 / 435.6 MB, free: 3.352 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.3552, allocations: 4 kB / 435.6 MB, free: 3.348 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3553, allocations: 140.7 kB / 435.8 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3553, allocations: 0 / 435.8 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.3554, allocations: 12 kB / 435.8 MB, free: 3.156 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3554, allocations: 3.938 kB / 435.8 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3554, allocations: 0 / 435.8 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3554, allocations: 3.984 kB / 435.8 MB, free: 3.148 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.3554, allocations: 3.938 kB / 435.8 MB, free: 3.145 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3556, allocations: 109.5 kB / 435.9 MB, free: 3.02 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3557, allocations: 23.81 kB / 435.9 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3557, allocations: 0 / 435.9 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.748e-05/0.3557, allocations: 0 / 435.9 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.3557, allocations: 4 kB / 435.9 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3557, allocations: 0 / 435.9 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.036e-05/0.3558, allocations: 103.3 kB / 436 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3558, allocations: 0 / 436 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002085/0.356, allocations: 16 kB / 436 MB, free: 2.875 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.000153/0.3562, allocations: 95.23 kB / 436.1 MB, free: 2.773 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001599/0.3563, allocations: 43.94 kB / 436.2 MB, free: 2.73 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3563, allocations: 0 / 436.2 MB, free: 2.73 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.3563, allocations: 3.984 kB / 436.2 MB, free: 2.727 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3567, allocations: 40.02 kB / 436.2 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.3571, allocations: 173.4 kB / 436.4 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.3576, allocations: 0.7001 MB / 437.1 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.441e-05/0.3576, allocations: 3.953 kB / 437.1 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.3576, allocations: 11.44 kB / 437.1 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of SimCode: time 3e-07/0.3576, allocations: 0 / 437.1 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of Templates: time 0.004902/0.3625, allocations: 0.6842 MB / 437.8 MB, free: 1.074 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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: 5.204475722275674]