Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 184.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 43.92 kB / 370.9 MB, free: 9.422 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3359, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003095/0.339, allocations: 1.483 MB / 424.6 MB, free: 13.19 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0001985/0.3392, allocations: 35.84 kB / 424.6 MB, free: 13.15 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.3393, allocations: 4 kB / 424.6 MB, free: 13.15 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.3393, allocations: 3.938 kB / 424.6 MB, free: 13.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.24e-05/0.3394, allocations: 0 / 424.6 MB, free: 13.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3397, allocations: 31.84 kB / 424.7 MB, free: 13.11 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.3397, allocations: 19.98 kB / 424.7 MB, free: 13.09 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3399, allocations: 8 kB / 424.7 MB, free: 13.09 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.3399, allocations: 19.91 kB / 424.7 MB, free: 13.07 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.34, allocations: 11.94 kB / 424.7 MB, free: 13.05 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.34, allocations: 4 kB / 424.7 MB, free: 13.05 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.34, allocations: 11.94 kB / 424.7 MB, free: 13.04 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.34, allocations: 7.984 kB / 424.8 MB, free: 13.03 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.3401, allocations: 15.88 kB / 424.8 MB, free: 13.02 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.848e-05/0.3402, allocations: 25.44 kB / 424.8 MB, free: 12.99 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3402, allocations: 4 kB / 424.8 MB, free: 12.99 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.123e-06/0.3402, allocations: 0 / 424.8 MB, free: 12.99 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.57e-06/0.3402, allocations: 0 / 424.8 MB, free: 12.99 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.0004807/0.3406, allocations: 274 kB / 425.1 MB, free: 12.69 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3407, allocations: 8.031 kB / 425.1 MB, free: 12.68 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3407, allocations: 4.938 kB / 425.1 MB, free: 12.68 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3409, allocations: 122.5 kB / 425.2 MB, free: 12.54 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.341, allocations: 8.312 kB / 425.2 MB, free: 12.53 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.341, allocations: 384 / 425.2 MB, free: 12.53 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.3413, allocations: 127.7 kB / 425.3 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3414, allocations: 192 / 425.3 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3414, allocations: 3.938 kB / 425.3 MB, free: 12.39 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3414, allocations: 4 kB / 425.3 MB, free: 12.38 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3415, allocations: 27.97 kB / 425.4 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.3417, allocations: 124.8 kB / 425.5 MB, free: 12.19 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3419, allocations: 54.58 kB / 425.5 MB, free: 12.13 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.3419, allocations: 28.88 kB / 425.6 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.342, allocations: 0 / 425.6 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.342, allocations: 42.48 kB / 425.6 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.342, allocations: 0 / 425.6 MB, free: 12.05 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0003012/0.3423, allocations: 85.55 kB / 425.7 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3424, allocations: 55.41 kB / 425.8 MB, free: 11.89 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3425, allocations: 101.9 kB / 425.8 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3425, allocations: 29.69 kB / 425.9 MB, free: 11.75 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.3425, allocations: 84.14 kB / 426 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.3426, allocations: 0 / 426 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3426, allocations: 21.72 kB / 426 MB, free: 11.63 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001681/0.3428, allocations: 314.8 kB / 426.3 MB, free: 11.32 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.3428, allocations: 7.984 kB / 426.3 MB, free: 11.31 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.3428, allocations: 31.38 kB / 426.3 MB, free: 11.27 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.3429, allocations: 35.81 kB / 426.4 MB, free: 11.22 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3429, allocations: 3.938 kB / 426.4 MB, free: 11.21 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 9.572e-05/0.343, allocations: 57.62 kB / 426.4 MB, free: 11.15 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.343, allocations: 4 kB / 426.4 MB, free: 11.15 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.343, allocations: 11.94 kB / 426.4 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.343, allocations: 0 / 426.4 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.3431, allocations: 15.98 kB / 426.5 MB, free: 11.12 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3431, allocations: 128 / 426.5 MB, free: 11.12 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.3431, allocations: 11.89 kB / 426.5 MB, free: 11.11 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3431, allocations: 7.938 kB / 426.5 MB, free: 11.1 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 9.915e-05/0.3432, allocations: 121.7 kB / 426.6 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3434, allocations: 57.67 kB / 426.6 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.3434, allocations: 11.94 kB / 426.7 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3434, allocations: 4 kB / 426.7 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3434, allocations: 0 / 426.7 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3434, allocations: 0 / 426.7 MB, free: 10.89 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3436, allocations: 128.7 kB / 426.8 MB, free: 10.72 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3436, allocations: 4 kB / 426.8 MB, free: 10.71 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.3436, allocations: 11.98 kB / 426.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3436, allocations: 3.938 kB / 426.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3436, allocations: 3.938 kB / 426.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3436, allocations: 0 / 426.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3436, allocations: 4 kB / 426.8 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.3438, allocations: 93 kB / 426.9 MB, free: 10.58 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.3439, allocations: 0 / 426.9 MB, free: 10.58 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.3439, allocations: 11.92 kB / 426.9 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.3439, allocations: 4 kB / 426.9 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-06/0.3439, allocations: 0 / 426.9 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3439, allocations: 4 kB / 426.9 MB, free: 10.56 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 5.224e-05/0.344, allocations: 87.27 kB / 427 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.344, allocations: 0 / 427 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0001982/0.3442, allocations: 4 kB / 427 MB, free: 10.47 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.0001254/0.3443, allocations: 99.25 kB / 427.1 MB, free: 10.37 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001549/0.3444, allocations: 31.92 kB / 427.1 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3444, allocations: 0 / 427.1 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.3444, allocations: 0 / 427.1 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.3448, allocations: 28.28 kB / 427.2 MB, free: 10.31 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.3451, allocations: 121.7 kB / 427.3 MB, free: 10.16 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.3455, allocations: 0.6883 MB / 428 MB, free: 9.449 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 2.99e-05/0.3456, allocations: 12.23 kB / 428 MB, free: 9.438 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.3456, allocations: 7.438 kB / 428 MB, free: 9.43 MB / 334.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3456, allocations: 0 / 428 MB, free: 9.43 MB / 334.1 MB
Notification: Performance of Templates: time 0.003098/0.3487, allocations: 460.6 kB / 428.4 MB, free: 8.98 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.723073451779783]