Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.00174/0.00174, 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.002056/0.002056, allocations: 212.6 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.659/1.659, allocations: 230.3 MB / 258 MB, free: 8.223 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 378.7 MB, free: 2.863 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 53.37 MB / 432.1 MB, free: 7.047 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002727/0.307, allocations: 1.448 MB / 433.6 MB, free: 5.598 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001602/0.3072, allocations: 23.92 kB / 433.6 MB, free: 5.574 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.3072, allocations: 0 / 433.6 MB, free: 5.574 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.3073, allocations: 3.938 kB / 433.6 MB, free: 5.57 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.215e-05/0.3073, allocations: 7.938 kB / 433.6 MB, free: 5.562 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.3075, allocations: 23.97 kB / 433.6 MB, free: 5.539 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.3076, allocations: 23.98 kB / 433.6 MB, free: 5.516 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.3077, allocations: 8 kB / 433.6 MB, free: 5.508 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.3077, allocations: 19.91 kB / 433.7 MB, free: 5.488 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.3078, allocations: 15.88 kB / 433.7 MB, free: 5.473 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3078, allocations: 0 / 433.7 MB, free: 5.473 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.3078, allocations: 4 kB / 433.7 MB, free: 5.469 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.3078, allocations: 7.984 kB / 433.7 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.3078, allocations: 15.88 kB / 433.7 MB, free: 5.445 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.318e-05/0.3079, allocations: 31.69 kB / 433.7 MB, free: 5.418 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3079, allocations: 4 kB / 433.7 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.132e-06/0.3079, allocations: 0 / 433.7 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.208e-06/0.3079, allocations: 0 / 433.7 MB, free: 5.414 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0004218/0.3084, allocations: 264.2 kB / 434 MB, free: 5.129 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3084, allocations: 12.03 kB / 434 MB, free: 5.117 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.3084, allocations: 4.938 kB / 434 MB, free: 5.113 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.3086, allocations: 126.4 kB / 434.1 MB, free: 4.965 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3086, allocations: 384 / 434.1 MB, free: 4.965 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3087, allocations: 4.375 kB / 434.1 MB, free: 4.961 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.309, allocations: 119.8 kB / 434.3 MB, free: 4.832 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.309, allocations: 192 / 434.3 MB, free: 4.832 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3091, allocations: 3.938 kB / 434.3 MB, free: 4.828 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3091, allocations: 0 / 434.3 MB, free: 4.828 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3092, allocations: 23.97 kB / 434.3 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.3093, allocations: 128.7 kB / 434.4 MB, free: 4.637 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3095, allocations: 50.56 kB / 434.5 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.3096, allocations: 24.92 kB / 434.5 MB, free: 4.551 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3096, allocations: 0 / 434.5 MB, free: 4.551 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3096, allocations: 38.48 kB / 434.5 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3096, allocations: 0 / 434.5 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002713/0.3099, allocations: 77.56 kB / 434.6 MB, free: 4.422 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3099, allocations: 59.41 kB / 434.7 MB, free: 4.352 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.31, allocations: 105.8 kB / 434.8 MB, free: 4.238 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.31, allocations: 25.7 kB / 434.8 MB, free: 4.207 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.3101, allocations: 84.08 kB / 434.9 MB, free: 4.121 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.3101, allocations: 4 kB / 434.9 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3101, allocations: 21.7 kB / 434.9 MB, free: 4.09 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.00015/0.3103, allocations: 314.8 kB / 435.2 MB, free: 3.773 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.3103, allocations: 4 kB / 435.2 MB, free: 3.77 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.928e-05/0.3103, allocations: 39.36 kB / 435.3 MB, free: 3.719 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.938e-05/0.3104, allocations: 35.38 kB / 435.3 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3104, allocations: 0 / 435.3 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.731e-05/0.3105, allocations: 65.58 kB / 435.3 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3105, allocations: 6.5 kB / 435.4 MB, free: 3.598 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3105, allocations: 7.938 kB / 435.4 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3105, allocations: 0 / 435.4 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.3106, allocations: 4 kB / 435.4 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3106, allocations: 0 / 435.4 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.3106, allocations: 11.94 kB / 435.4 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.3106, allocations: 0 / 435.4 MB, free: 3.574 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (step.counter)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 5
 * 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.000112/0.3107, allocations: 117.9 kB / 435.5 MB, free: 3.449 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3108, allocations: 61.67 kB / 435.6 MB, free: 3.383 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.3109, allocations: 7.625 kB / 435.6 MB, free: 3.371 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3109, allocations: 0 / 435.6 MB, free: 3.371 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3109, allocations: 4.312 kB / 435.6 MB, free: 3.367 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3109, allocations: 4 kB / 435.6 MB, free: 3.363 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.311, allocations: 132.7 kB / 435.7 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.311, allocations: 0 / 435.7 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.311, allocations: 0 / 435.7 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.311, allocations: 4 kB / 435.7 MB, free: 3.188 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3111, allocations: 7.938 kB / 435.7 MB, free: 3.18 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3111, allocations: 4 kB / 435.7 MB, free: 3.176 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3111, allocations: 3.984 kB / 435.7 MB, free: 3.172 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.3112, allocations: 89.23 kB / 435.8 MB, free: 3.066 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/0.3112, allocations: 7.938 kB / 435.8 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3113, allocations: 3.984 kB / 435.8 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.3113, allocations: 7.984 kB / 435.8 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-06/0.3113, allocations: 0 / 435.8 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3113, allocations: 0 / 435.8 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.227e-05/0.3114, allocations: 91.27 kB / 435.9 MB, free: 2.957 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3114, allocations: 0 / 435.9 MB, free: 2.957 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.00019/0.3115, allocations: 4 kB / 435.9 MB, free: 2.953 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter)
 * Number of discrete states: 0 ()
 * Number of clocked states: 1 (step.counter)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 4
 * 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 9.775e-05/0.3116, allocations: 95.25 kB / 436 MB, free: 2.848 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001343/0.3118, allocations: 27.92 kB / 436 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3118, allocations: 0 / 436 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3118, allocations: 256 / 436 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.312, allocations: 32.02 kB / 436.1 MB, free: 2.789 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.3123, allocations: 117.5 kB / 436.2 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.3126, allocations: 0.6807 MB / 436.9 MB, free: 1.941 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 1.519e-05/0.3126, allocations: 3.984 kB / 436.9 MB, free: 1.938 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.3127, allocations: 7.438 kB / 436.9 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3127, allocations: 0 / 436.9 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of Templates: time 0.002474/0.3151, allocations: 400.4 kB / 437.3 MB, free: 1.539 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.791777300648391]