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.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.001907/0.001907, 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.002802/0.002802, 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.735/1.735, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [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.002519/0.002519, allocations: 68.78 kB / 379 MB, free: 2.668 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3816, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003187/0.3848, allocations: 1.45 MB / 433.9 MB, free: 5.504 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002145/0.385, allocations: 27.92 kB / 433.9 MB, free: 5.477 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.3851, allocations: 4 kB / 433.9 MB, free: 5.473 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.3851, allocations: 7.922 kB / 433.9 MB, free: 5.465 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.3852, allocations: 7.938 kB / 433.9 MB, free: 5.457 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.3855, allocations: 11.98 kB / 433.9 MB, free: 5.445 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 9.789e-05/0.3856, allocations: 27.94 kB / 433.9 MB, free: 5.418 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3857, allocations: 11.97 kB / 434 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.3857, allocations: 15.88 kB / 434 MB, free: 5.391 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.3858, allocations: 15.92 kB / 434 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3858, allocations: 0 / 434 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.3858, allocations: 4 kB / 434 MB, free: 5.371 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.3858, allocations: 4 kB / 434 MB, free: 5.367 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.3859, allocations: 23.86 kB / 434 MB, free: 5.344 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.386, allocations: 35.69 kB / 434 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.386, allocations: 0 / 434 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.062e-06/0.386, allocations: 0 / 434 MB, free: 5.312 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.883e-06/0.386, allocations: 0 / 434 MB, free: 5.312 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.0005345/0.3866, allocations: 260.2 kB / 434.3 MB, free: 5.031 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3866, allocations: 12.03 kB / 434.3 MB, free: 5.02 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3866, allocations: 0.9375 kB / 434.3 MB, free: 5.02 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.3869, allocations: 122.5 kB / 434.4 MB, free: 4.875 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.387, allocations: 4.375 kB / 434.4 MB, free: 4.871 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.387, allocations: 4.375 kB / 434.4 MB, free: 4.867 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.3874, allocations: 115.8 kB / 434.6 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3874, allocations: 192 / 434.6 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3874, allocations: 3.938 kB / 434.6 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3874, allocations: 0 / 434.6 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3875, allocations: 19.98 kB / 434.6 MB, free: 4.719 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/0.3877, allocations: 132.7 kB / 434.7 MB, free: 4.547 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3878, allocations: 50.55 kB / 434.8 MB, free: 4.488 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3879, allocations: 28.86 kB / 434.8 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3879, allocations: 0 / 434.8 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.388, allocations: 30.56 kB / 434.8 MB, free: 4.418 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.388, allocations: 0 / 434.8 MB, free: 4.418 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002976/0.3883, allocations: 85.55 kB / 434.9 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.3884, allocations: 55.41 kB / 435 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3885, allocations: 105.8 kB / 435.1 MB, free: 4.148 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3885, allocations: 25.7 kB / 435.1 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.3886, allocations: 84.12 kB / 435.2 MB, free: 4.031 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3886, allocations: 11.94 kB / 435.2 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3886, allocations: 13.72 kB / 435.2 MB, free: 4 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000173/0.3888, allocations: 322.8 kB / 435.5 MB, free: 3.676 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.3888, allocations: 8 kB / 435.5 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.3888, allocations: 27.81 kB / 435.5 MB, free: 3.629 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.3889, allocations: 39.38 kB / 435.6 MB, free: 3.578 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3889, allocations: 4 kB / 435.6 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.949e-05/0.389, allocations: 65.58 kB / 435.6 MB, free: 3.504 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.389, allocations: 4 kB / 435.7 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.389, allocations: 7.875 kB / 435.7 MB, free: 3.492 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.389, allocations: 4 kB / 435.7 MB, free: 3.488 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.3891, allocations: 7.984 kB / 435.7 MB, free: 3.48 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3891, allocations: 0 / 435.7 MB, free: 3.48 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.3891, allocations: 7.938 kB / 435.7 MB, free: 3.473 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.3891, allocations: 8.062 kB / 435.7 MB, free: 3.465 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 9.6e-05/0.3892, allocations: 113.8 kB / 435.8 MB, free: 3.344 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3894, allocations: 57.67 kB / 435.9 MB, free: 3.281 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.3894, allocations: 11.62 kB / 435.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3894, allocations: 0 / 435.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3894, allocations: 0 / 435.9 MB, free: 3.266 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.3894, allocations: 4 kB / 435.9 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.3896, allocations: 128.7 kB / 436 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3896, allocations: 0 / 436 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3897, allocations: 4 kB / 436 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3897, allocations: 4 kB / 436 MB, free: 3.086 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3897, allocations: 3.938 kB / 436 MB, free: 3.082 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3897, allocations: 0 / 436 MB, free: 3.082 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3897, allocations: 3.938 kB / 436 MB, free: 3.078 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3899, allocations: 85.06 kB / 436.1 MB, free: 2.977 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.3899, allocations: 7.984 kB / 436.1 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.39, allocations: 7.875 kB / 436.1 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.39, allocations: 8 kB / 436.1 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-06/0.39, allocations: 288 / 436.1 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.39, allocations: 4 kB / 436.1 MB, free: 2.949 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 4.898e-05/0.3901, allocations: 79.28 kB / 436.2 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3901, allocations: 0 / 436.2 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001868/0.3902, allocations: 4 kB / 436.2 MB, free: 2.867 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 0.0001542/0.3904, allocations: 103.2 kB / 436.3 MB, free: 2.754 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001371/0.3905, allocations: 32.09 kB / 436.3 MB, free: 2.723 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3905, allocations: 4.062 kB / 436.3 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3905, allocations: 0 / 436.3 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3908, allocations: 24.02 kB / 436.4 MB, free: 2.695 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.3911, allocations: 117.5 kB / 436.5 MB, free: 2.555 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3915, allocations: 0.6846 MB / 437.2 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.004e-05/0.3915, allocations: 0 / 437.2 MB, free: 1.844 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.3916, allocations: 11.44 kB / 437.2 MB, free: 1.832 MB / 334.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.3916, allocations: 3.938 kB / 437.2 MB, free: 1.828 MB / 334.1 MB
Notification: Performance of Templates: time 0.003413/0.395, allocations: 395.7 kB / 437.6 MB, free: 1.449 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 5.22342275083065]