Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001983/0.001983, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002271/0.002271, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.658/1.658, allocations: 230.3 MB / 258 MB, free: 8.254 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep")
translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 60.03 kB / 378.7 MB, free: 2.789 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003565/0.3796, allocations: 1.463 MB / 433.6 MB, free: 5.617 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003353/0.3799, allocations: 99.62 kB / 433.7 MB, free: 5.52 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.38, allocations: 0 / 433.7 MB, free: 5.52 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.38, allocations: 3.938 kB / 433.7 MB, free: 5.516 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.3801, allocations: 7.984 kB / 433.7 MB, free: 5.508 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3804, allocations: 15.92 kB / 433.7 MB, free: 5.492 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3805, allocations: 27.92 kB / 433.7 MB, free: 5.465 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3806, allocations: 11.98 kB / 433.7 MB, free: 5.453 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.3806, allocations: 15.92 kB / 433.8 MB, free: 5.438 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.3807, allocations: 7.938 kB / 433.8 MB, free: 5.43 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3807, allocations: 4 kB / 433.8 MB, free: 5.426 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.3807, allocations: 4 kB / 433.8 MB, free: 5.422 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.3807, allocations: 7.984 kB / 433.8 MB, free: 5.414 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.3808, allocations: 15.88 kB / 433.8 MB, free: 5.398 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3809, allocations: 27.69 kB / 433.8 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3809, allocations: 0 / 433.8 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.294e-06/0.3809, allocations: 0 / 433.8 MB, free: 5.375 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.242e-06/0.3809, allocations: 0 / 433.8 MB, free: 5.375 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.0005793/0.3815, allocations: 260.2 kB / 434.1 MB, free: 5.094 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.3816, allocations: 16.03 kB / 434.1 MB, free: 5.078 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.3816, allocations: 0.9375 kB / 434.1 MB, free: 5.078 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3819, allocations: 130.4 kB / 434.2 MB, free: 4.926 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.382, allocations: 4.375 kB / 434.2 MB, free: 4.922 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.382, allocations: 4.375 kB / 434.2 MB, free: 4.918 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.3824, allocations: 99.88 kB / 434.3 MB, free: 4.809 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3824, allocations: 192 / 434.3 MB, free: 4.809 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3824, allocations: 7.938 kB / 434.3 MB, free: 4.801 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3824, allocations: 0 / 434.3 MB, free: 4.801 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.3825, allocations: 11.98 kB / 434.3 MB, free: 4.789 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.3827, allocations: 124.8 kB / 434.5 MB, free: 4.625 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3828, allocations: 42.56 kB / 434.5 MB, free: 4.574 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.3829, allocations: 28.86 kB / 434.5 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3829, allocations: 4 kB / 434.5 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.383, allocations: 30.56 kB / 434.6 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.383, allocations: 0 / 434.6 MB, free: 4.5 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002656/0.3832, allocations: 73.55 kB / 434.6 MB, free: 4.422 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.3833, allocations: 59.41 kB / 434.7 MB, free: 4.352 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3834, allocations: 101.8 kB / 434.8 MB, free: 4.242 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3835, allocations: 29.7 kB / 434.8 MB, free: 4.207 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.3835, allocations: 84.12 kB / 434.9 MB, free: 4.121 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.969e-06/0.3835, allocations: 4 kB / 434.9 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.3836, allocations: 25.59 kB / 434.9 MB, free: 4.086 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001621/0.3838, allocations: 314.8 kB / 435.2 MB, free: 3.77 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.3838, allocations: 0 / 435.2 MB, free: 3.77 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.3838, allocations: 31.42 kB / 435.3 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.3839, allocations: 35.38 kB / 435.3 MB, free: 3.68 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3839, allocations: 0 / 435.3 MB, free: 3.68 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.858e-05/0.384, allocations: 53.62 kB / 435.4 MB, free: 3.621 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.384, allocations: 12.12 kB / 435.4 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.384, allocations: 3.938 kB / 435.4 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.384, allocations: 0 / 435.4 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.3841, allocations: 4 kB / 435.4 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3841, allocations: 0 / 435.4 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.3841, allocations: 4 kB / 435.4 MB, free: 3.598 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3841, allocations: 7.938 kB / 435.4 MB, free: 3.59 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: 3 (assignClock1.y,assignClock1.u,step.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001288/0.3842, allocations: 113.8 kB / 435.5 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3844, allocations: 57.64 kB / 435.6 MB, free: 3.406 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.3844, allocations: 11.62 kB / 435.6 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3844, allocations: 0 / 435.6 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3844, allocations: 0 / 435.6 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3844, allocations: 0 / 435.6 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3846, allocations: 125 kB / 435.7 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3846, allocations: 0 / 435.7 MB, free: 3.227 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.3846, allocations: 8 kB / 435.7 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3846, allocations: 3.984 kB / 435.7 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3846, allocations: 3.938 kB / 435.7 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3846, allocations: 0 / 435.7 MB, free: 3.211 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3846, allocations: 3.938 kB / 435.7 MB, free: 3.207 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.3848, allocations: 81.12 kB / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.3848, allocations: 3.953 kB / 435.8 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3848, allocations: 3.938 kB / 435.8 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.3849, allocations: 11.98 kB / 435.8 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-06/0.3849, allocations: 0 / 435.8 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3849, allocations: 0 / 435.8 MB, free: 3.09 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.643e-05/0.3849, allocations: 79.28 kB / 435.9 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3849, allocations: 4 kB / 435.9 MB, free: 3.008 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000215/0.3851, allocations: 8 kB / 435.9 MB, free: 3 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: 3 (step.y,assignClock1.u,assignClock1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * 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.0002052/0.3853, allocations: 99.19 kB / 436 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000167/0.3855, allocations: 23.92 kB / 436 MB, free: 2.867 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3855, allocations: 3.938 kB / 436 MB, free: 2.863 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3855, allocations: 0 / 436 MB, free: 2.863 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3858, allocations: 20.27 kB / 436 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.3862, allocations: 125.5 kB / 436.2 MB, free: 2.695 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.3869, allocations: 0.6768 MB / 436.8 MB, free: 1.992 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.124e-05/0.3869, allocations: 4 kB / 436.8 MB, free: 1.988 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.387, allocations: 11.44 kB / 436.9 MB, free: 1.977 MB / 334.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.387, allocations: 0 / 436.9 MB, free: 1.977 MB / 334.1 MB
Notification: Performance of Templates: time 0.003813/0.3908, allocations: 341 kB / 437.2 MB, free: 1.645 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.266479818150401]