Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00147/0.00147, 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.002015/0.002015, 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.703/1.703, allocations: 230.3 MB / 258 MB, free: 8.25 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 59.89 kB / 378.7 MB, free: 2.789 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 53.37 MB / 432.1 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002944/0.374, allocations: 0.886 MB / 433 MB, free: 6.199 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005612/0.3746, allocations: 115.6 kB / 433.1 MB, free: 6.086 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3747, allocations: 3.938 kB / 433.1 MB, free: 6.082 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.727e-05/0.3748, allocations: 3.938 kB / 433.1 MB, free: 6.078 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.375, allocations: 11.94 kB / 433.1 MB, free: 6.066 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.3753, allocations: 31.89 kB / 433.2 MB, free: 6.035 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001459/0.3754, allocations: 51.84 kB / 433.2 MB, free: 5.984 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3756, allocations: 16 kB / 433.2 MB, free: 5.969 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.129e-05/0.3756, allocations: 15.92 kB / 433.2 MB, free: 5.953 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.3757, allocations: 19.91 kB / 433.3 MB, free: 5.934 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.3757, allocations: 4 kB / 433.3 MB, free: 5.93 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.3757, allocations: 4 kB / 433.3 MB, free: 5.926 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.3758, allocations: 15.92 kB / 433.3 MB, free: 5.91 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.3759, allocations: 23.81 kB / 433.3 MB, free: 5.887 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.376, allocations: 59.53 kB / 433.4 MB, free: 5.832 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.376, allocations: 0 / 433.4 MB, free: 5.832 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.733e-06/0.376, allocations: 4 kB / 433.4 MB, free: 5.828 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.504e-06/0.376, allocations: 0 / 433.4 MB, free: 5.828 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.000459/0.3765, allocations: 299.8 kB / 433.7 MB, free: 5.508 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3765, allocations: 8.031 kB / 433.7 MB, free: 5.5 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.3766, allocations: 12.89 kB / 433.7 MB, free: 5.488 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3769, allocations: 134.4 kB / 433.8 MB, free: 5.332 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3769, allocations: 4.375 kB / 433.8 MB, free: 5.328 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3769, allocations: 8.375 kB / 433.8 MB, free: 5.32 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.3772, allocations: 135.7 kB / 434 MB, free: 5.176 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3772, allocations: 192 / 434 MB, free: 5.176 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3772, allocations: 3.938 kB / 434 MB, free: 5.172 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3772, allocations: 4 kB / 434 MB, free: 5.168 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.3773, allocations: 12 kB / 434 MB, free: 5.156 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.3774, allocations: 144.7 kB / 434.1 MB, free: 4.973 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3776, allocations: 62.66 kB / 434.2 MB, free: 4.902 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.3777, allocations: 32.89 kB / 434.2 MB, free: 4.867 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3777, allocations: 8 kB / 434.2 MB, free: 4.859 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.3777, allocations: 34.55 kB / 434.3 MB, free: 4.816 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3777, allocations: 0 / 434.3 MB, free: 4.816 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0002117/0.3779, allocations: 89.58 kB / 434.3 MB, free: 4.723 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.378, allocations: 55.41 kB / 434.4 MB, free: 4.656 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3781, allocations: 133.8 kB / 434.5 MB, free: 4.516 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3782, allocations: 29.64 kB / 434.6 MB, free: 4.48 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.3782, allocations: 88.14 kB / 434.6 MB, free: 4.391 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3783, allocations: 3.953 kB / 434.6 MB, free: 4.387 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3783, allocations: 33.7 kB / 434.7 MB, free: 4.348 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001469/0.3785, allocations: 314.8 kB / 435 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.3785, allocations: 12 kB / 435 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.3785, allocations: 54.86 kB / 435.1 MB, free: 3.941 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.518e-05/0.3786, allocations: 70.75 kB / 435.1 MB, free: 3.848 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3786, allocations: 4 kB / 435.1 MB, free: 3.844 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001408/0.3788, allocations: 97.47 kB / 435.2 MB, free: 3.742 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3788, allocations: 4 kB / 435.2 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3788, allocations: 7.938 kB / 435.2 MB, free: 3.73 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3788, allocations: 0 / 435.2 MB, free: 3.73 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.3789, allocations: 4 kB / 435.2 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3789, allocations: 4 kB / 435.2 MB, free: 3.723 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.3789, allocations: 11.92 kB / 435.2 MB, free: 3.711 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3789, allocations: 4.188 kB / 435.3 MB, free: 3.707 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 0.0001206/0.379, allocations: 133.9 kB / 435.4 MB, free: 3.566 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.3791, allocations: 73.89 kB / 435.5 MB, free: 3.488 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.3792, allocations: 16.31 kB / 435.5 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3792, allocations: 0 / 435.5 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3792, allocations: 0 / 435.5 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3792, allocations: 4 kB / 435.5 MB, free: 3.465 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3793, allocations: 140.7 kB / 435.6 MB, free: 3.285 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3793, allocations: 0 / 435.6 MB, free: 3.285 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.3793, allocations: 3.938 kB / 435.6 MB, free: 3.281 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3793, allocations: 0 / 435.6 MB, free: 3.281 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3793, allocations: 19.94 kB / 435.6 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3793, allocations: 0 / 435.6 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3793, allocations: 0 / 435.6 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3795, allocations: 101.1 kB / 435.7 MB, free: 3.145 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.3796, allocations: 15.94 kB / 435.8 MB, free: 3.129 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3796, allocations: 3.938 kB / 435.8 MB, free: 3.125 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.3796, allocations: 4 kB / 435.8 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.3796, allocations: 0 / 435.8 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3796, allocations: 4 kB / 435.8 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.138e-05/0.3797, allocations: 110.3 kB / 435.9 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3797, allocations: 0 / 435.9 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001969/0.3799, allocations: 8 kB / 435.9 MB, free: 3.004 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.0001238/0.38, allocations: 99.19 kB / 436 MB, free: 2.898 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001336/0.3802, allocations: 40.3 kB / 436 MB, free: 2.859 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3802, allocations: 4.125 kB / 436 MB, free: 2.855 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3802, allocations: 4 kB / 436 MB, free: 2.852 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3805, allocations: 42.5 kB / 436.1 MB, free: 2.812 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.3808, allocations: 157.5 kB / 436.2 MB, free: 2.629 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3812, allocations: 0.6924 MB / 436.9 MB, free: 1.91 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.301e-05/0.3813, allocations: 11.94 kB / 436.9 MB, free: 1.898 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.3813, allocations: 11.44 kB / 436.9 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.3813, allocations: 0 / 436.9 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of Templates: time 0.003581/0.3849, allocations: 0.656 MB / 437.6 MB, free: 1.234 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.270718730054796]