Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001419/0.001419, 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.001882/0.001882, allocations: 213.2 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.719/1.719, 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.002876/0.002876, allocations: 64.78 kB / 379 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3197, allocations: 53.39 MB / 432.4 MB, free: 6.953 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002341/0.3221, allocations: 0.8776 MB / 433.3 MB, free: 6.086 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003432/0.3224, allocations: 107.6 kB / 433.4 MB, free: 5.98 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.3225, allocations: 3.938 kB / 433.4 MB, free: 5.977 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.594e-05/0.3225, allocations: 7.938 kB / 433.4 MB, free: 5.969 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3227, allocations: 15.92 kB / 433.4 MB, free: 5.953 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3229, allocations: 31.91 kB / 433.5 MB, free: 5.922 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001051/0.323, allocations: 39.91 kB / 433.5 MB, free: 5.883 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3231, allocations: 23.78 kB / 433.5 MB, free: 5.863 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.3232, allocations: 15.88 kB / 433.5 MB, free: 5.848 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.3232, allocations: 19.91 kB / 433.5 MB, free: 5.828 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3232, allocations: 4 kB / 433.6 MB, free: 5.824 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.3232, allocations: 4 kB / 433.6 MB, free: 5.82 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.3233, allocations: 15.92 kB / 433.6 MB, free: 5.805 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.3233, allocations: 23.81 kB / 433.6 MB, free: 5.781 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3235, allocations: 58.83 kB / 433.7 MB, free: 5.727 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3235, allocations: 0 / 433.7 MB, free: 5.727 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.342e-06/0.3235, allocations: 4 kB / 433.7 MB, free: 5.723 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.819e-06/0.3235, allocations: 0 / 433.7 MB, free: 5.723 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.0004768/0.3239, allocations: 293.7 kB / 433.9 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.324, allocations: 12.03 kB / 434 MB, free: 5.395 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.324, allocations: 8.891 kB / 434 MB, free: 5.387 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3243, allocations: 138.3 kB / 434.1 MB, free: 5.227 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.3243, allocations: 8.375 kB / 434.1 MB, free: 5.219 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3243, allocations: 8.375 kB / 434.1 MB, free: 5.211 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.3247, allocations: 127.8 kB / 434.2 MB, free: 5.074 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3247, allocations: 192 / 434.2 MB, free: 5.074 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.3247, allocations: 7.938 kB / 434.2 MB, free: 5.066 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3247, allocations: 0 / 434.2 MB, free: 5.066 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.3248, allocations: 19.98 kB / 434.3 MB, free: 5.047 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.325, allocations: 136.7 kB / 434.4 MB, free: 4.871 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3251, allocations: 66.72 kB / 434.5 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.3252, allocations: 36.83 kB / 434.5 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.3252, allocations: 0 / 434.5 MB, free: 4.758 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.3252, allocations: 38.56 kB / 434.5 MB, free: 4.711 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=8): time 2.715e-06/0.3252, allocations: 3.984 kB / 434.5 MB, free: 4.707 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0002299/0.3255, allocations: 89.8 kB / 434.6 MB, free: 4.613 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.3255, allocations: 59.39 kB / 434.7 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3257, allocations: 129.8 kB / 434.8 MB, free: 4.406 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3257, allocations: 29.7 kB / 434.8 MB, free: 4.371 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.3258, allocations: 84.14 kB / 434.9 MB, free: 4.285 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.3258, allocations: 3.953 kB / 434.9 MB, free: 4.281 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3258, allocations: 41.64 kB / 435 MB, free: 4.234 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001356/0.326, allocations: 318.8 kB / 435.3 MB, free: 3.914 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.326, allocations: 7.984 kB / 435.3 MB, free: 3.906 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.3261, allocations: 50.95 kB / 435.3 MB, free: 3.832 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.3261, allocations: 78.73 kB / 435.4 MB, free: 3.73 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3262, allocations: 0 / 435.4 MB, free: 3.73 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001261/0.3263, allocations: 89.52 kB / 435.5 MB, free: 3.637 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3263, allocations: 11.94 kB / 435.5 MB, free: 3.625 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3263, allocations: 7.922 kB / 435.5 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3263, allocations: 4 kB / 435.5 MB, free: 3.613 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.931e-05/0.3263, allocations: 3.984 kB / 435.5 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3263, allocations: 4 kB / 435.5 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.3264, allocations: 4.25 kB / 435.5 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3264, allocations: 12.19 kB / 435.6 MB, free: 3.59 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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u)
 * 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.734e-05/0.3265, allocations: 128.7 kB / 435.7 MB, free: 3.457 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.3266, allocations: 73.58 kB / 435.8 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3266, allocations: 12.31 kB / 435.8 MB, free: 3.363 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3266, allocations: 7.938 kB / 435.8 MB, free: 3.355 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3266, allocations: 0 / 435.8 MB, free: 3.355 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3266, allocations: 3.984 kB / 435.8 MB, free: 3.352 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3267, allocations: 136.7 kB / 435.9 MB, free: 3.176 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3267, allocations: 4 kB / 435.9 MB, free: 3.172 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.3268, allocations: 4 kB / 435.9 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3268, allocations: 0 / 435.9 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3268, allocations: 3.938 kB / 435.9 MB, free: 3.164 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3268, allocations: 3.938 kB / 435.9 MB, free: 3.16 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3268, allocations: 0 / 435.9 MB, free: 3.16 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3269, allocations: 105 kB / 436 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.3269, allocations: 11.95 kB / 436 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.327, allocations: 11.92 kB / 436 MB, free: 3.016 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.408e-05/0.327, allocations: 4 kB / 436.1 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/0.327, allocations: 0 / 436.1 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.327, allocations: 4 kB / 436.1 MB, free: 3.008 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.99e-05/0.3271, allocations: 103.3 kB / 436.2 MB, free: 2.906 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3271, allocations: 0 / 436.2 MB, free: 2.906 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002009/0.3273, allocations: 12 kB / 436.2 MB, free: 2.895 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y)
 * 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.0001038/0.3274, allocations: 95.25 kB / 436.3 MB, free: 2.793 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001193/0.3275, allocations: 47.86 kB / 436.3 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3275, allocations: 0 / 436.3 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3275, allocations: 0 / 436.3 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3278, allocations: 36 kB / 436.3 MB, free: 2.711 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.3281, allocations: 165.5 kB / 436.5 MB, free: 2.52 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3285, allocations: 0.6967 MB / 437.2 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 1.743e-05/0.3285, allocations: 7.953 kB / 437.2 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.3285, allocations: 11.44 kB / 437.2 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.3285, allocations: 0 / 437.2 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of Templates: time 0.004486/0.333, allocations: 0.6653 MB / 437.9 MB, free: 1.117 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.181548096239567]