Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001796/0.001796, 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.002212/0.002212, 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.732/1.732, allocations: 230.3 MB / 258 MB, free: 8.234 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3819, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003707/0.3856, allocations: 1.484 MB / 433.6 MB, free: 5.59 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002941/0.3859, allocations: 31.91 kB / 433.6 MB, free: 5.559 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.386, allocations: 4 kB / 433.6 MB, free: 5.555 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.386, allocations: 3.938 kB / 433.6 MB, free: 5.551 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.3861, allocations: 3.938 kB / 433.7 MB, free: 5.547 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.3864, allocations: 19.97 kB / 433.7 MB, free: 5.527 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001235/0.3865, allocations: 35.86 kB / 433.7 MB, free: 5.492 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3866, allocations: 4 kB / 433.7 MB, free: 5.488 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.3867, allocations: 11.98 kB / 433.7 MB, free: 5.477 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.3868, allocations: 11.94 kB / 433.7 MB, free: 5.465 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3868, allocations: 4 kB / 433.7 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.074e-05/0.3868, allocations: 0 / 433.7 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.3868, allocations: 15.92 kB / 433.8 MB, free: 5.445 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.3869, allocations: 15.92 kB / 433.8 MB, free: 5.43 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000128/0.387, allocations: 29.88 kB / 433.8 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.387, allocations: 0 / 433.8 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.254e-06/0.387, allocations: 0 / 433.8 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.541e-06/0.387, allocations: 3.938 kB / 433.8 MB, free: 5.398 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.0005241/0.3875, allocations: 266 kB / 434.1 MB, free: 5.109 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3876, allocations: 12.03 kB / 434.1 MB, free: 5.098 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3876, allocations: 8.875 kB / 434.1 MB, free: 5.09 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3879, allocations: 122.5 kB / 434.2 MB, free: 4.945 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.388, allocations: 384 / 434.2 MB, free: 4.945 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.388, allocations: 4.375 kB / 434.2 MB, free: 4.941 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.3884, allocations: 119.8 kB / 434.3 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3884, allocations: 4.172 kB / 434.3 MB, free: 4.809 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3884, allocations: 11.94 kB / 434.3 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3884, allocations: 0 / 434.3 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3885, allocations: 23.97 kB / 434.4 MB, free: 4.773 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.3887, allocations: 132.8 kB / 434.5 MB, free: 4.602 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3889, allocations: 50.48 kB / 434.5 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.938e-05/0.389, allocations: 28.86 kB / 434.6 MB, free: 4.512 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.389, allocations: 3.984 kB / 434.6 MB, free: 4.508 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3891, allocations: 38.56 kB / 434.6 MB, free: 4.461 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3891, allocations: 4 kB / 434.6 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.000306/0.3894, allocations: 85.48 kB / 434.7 MB, free: 4.367 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.3894, allocations: 55.41 kB / 434.8 MB, free: 4.301 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.3895, allocations: 105.8 kB / 434.9 MB, free: 4.188 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3895, allocations: 25.7 kB / 434.9 MB, free: 4.156 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.384e-05/0.3896, allocations: 84.14 kB / 435 MB, free: 4.07 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3896, allocations: 0 / 435 MB, free: 4.07 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3896, allocations: 17.72 kB / 435 MB, free: 4.047 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001508/0.3898, allocations: 326.8 kB / 435.3 MB, free: 3.719 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3898, allocations: 4.25 kB / 435.3 MB, free: 3.715 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.3898, allocations: 31.44 kB / 435.3 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.3899, allocations: 39.38 kB / 435.4 MB, free: 3.621 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3899, allocations: 0 / 435.4 MB, free: 3.621 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001124/0.39, allocations: 65.58 kB / 435.4 MB, free: 3.551 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.39, allocations: 6.5 kB / 435.4 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.39, allocations: 3.938 kB / 435.4 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3901, allocations: 4 kB / 435.4 MB, free: 3.539 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.3901, allocations: 11.92 kB / 435.5 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3901, allocations: 4 kB / 435.5 MB, free: 3.523 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.306e-05/0.3902, allocations: 4.062 kB / 435.5 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3902, allocations: 8 kB / 435.5 MB, free: 3.512 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: 2 ($CLKPRE.step.counter,step.counter)
 * 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 8.564e-05/0.3903, allocations: 109.8 kB / 435.6 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3904, allocations: 61.67 kB / 435.6 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.3905, allocations: 11.94 kB / 435.7 MB, free: 3.309 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3905, allocations: 0 / 435.7 MB, free: 3.309 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3905, allocations: 0 / 435.7 MB, free: 3.309 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3905, allocations: 7.938 kB / 435.7 MB, free: 3.301 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3906, allocations: 132.7 kB / 435.8 MB, free: 3.129 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3906, allocations: 0 / 435.8 MB, free: 3.129 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.3907, allocations: 15.98 kB / 435.8 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3907, allocations: 0 / 435.8 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3907, allocations: 4.172 kB / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3907, allocations: 0 / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3907, allocations: 0 / 435.8 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.3909, allocations: 89.09 kB / 435.9 MB, free: 3.004 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.3909, allocations: 4 kB / 435.9 MB, free: 3 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3909, allocations: 11.92 kB / 435.9 MB, free: 2.988 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.603e-05/0.391, allocations: 8 kB / 435.9 MB, free: 2.98 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-06/0.391, allocations: 0 / 435.9 MB, free: 2.98 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.391, allocations: 4.062 kB / 435.9 MB, free: 2.977 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.396e-05/0.391, allocations: 95.2 kB / 436 MB, free: 2.883 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.391, allocations: 0 / 436 MB, free: 2.883 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001979/0.3912, allocations: 4 kB / 436 MB, free: 2.879 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: 1 (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.000139/0.3914, allocations: 99.19 kB / 436.1 MB, free: 2.773 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000204/0.3916, allocations: 28.11 kB / 436.1 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3916, allocations: 4 kB / 436.2 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.3916, allocations: 0 / 436.2 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3919, allocations: 26.88 kB / 436.2 MB, free: 2.719 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.3923, allocations: 125.6 kB / 436.3 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.3927, allocations: 0.6807 MB / 437 MB, free: 1.863 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.017e-05/0.3927, allocations: 0 / 437 MB, free: 1.863 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.3927, allocations: 11.56 kB / 437 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.3927, allocations: 4 kB / 437 MB, free: 1.848 MB / 334.1 MB
Notification: Performance of Templates: time 0.003292/0.396, allocations: 456 kB / 437.4 MB, free: 1.406 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.067604594863951]