Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001374/0.001374, 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.00173/0.00173, allocations: 213.9 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.62/1.62, allocations: 230.3 MB / 258 MB, free: 8.219 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked")
translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3564, allocations: 53.36 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.004922/0.3613, allocations: 1.531 MB / 433.6 MB, free: 5.543 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005783/0.3619, allocations: 139.5 kB / 433.8 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.362, allocations: 0 / 433.8 MB, free: 5.406 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 6.185e-05/0.3621, allocations: 3.938 kB / 433.8 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.3622, allocations: 11.94 kB / 433.8 MB, free: 5.391 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.3625, allocations: 35.89 kB / 433.8 MB, free: 5.355 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3627, allocations: 31.86 kB / 433.9 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3628, allocations: 8 kB / 433.9 MB, free: 5.316 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.3628, allocations: 15.92 kB / 433.9 MB, free: 5.301 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.3629, allocations: 11.92 kB / 433.9 MB, free: 5.289 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3629, allocations: 0 / 433.9 MB, free: 5.289 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.3629, allocations: 4 kB / 433.9 MB, free: 5.285 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.363, allocations: 11.94 kB / 433.9 MB, free: 5.273 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.3631, allocations: 19.86 kB / 433.9 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3632, allocations: 43.42 kB / 434 MB, free: 5.215 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3632, allocations: 4 kB / 434 MB, free: 5.211 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.773e-06/0.3632, allocations: 0 / 434 MB, free: 5.211 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.362e-06/0.3632, allocations: 0 / 434 MB, free: 5.211 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: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0006525/0.3639, allocations: 288.1 kB / 434.3 MB, free: 4.898 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.3639, allocations: 8.031 kB / 434.3 MB, free: 4.891 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.364, allocations: 8.891 kB / 434.3 MB, free: 4.883 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.3644, allocations: 138.3 kB / 434.4 MB, free: 4.723 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3644, allocations: 4.375 kB / 434.4 MB, free: 4.719 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3645, allocations: 4.375 kB / 434.4 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.3648, allocations: 93.61 kB / 434.5 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3648, allocations: 192 / 434.5 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3648, allocations: 3.938 kB / 434.5 MB, free: 4.602 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3648, allocations: 3.984 kB / 434.5 MB, free: 4.598 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3649, allocations: 19.92 kB / 434.5 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3654, allocations: 228.9 kB / 434.8 MB, free: 4.309 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3655, allocations: 49.08 kB / 434.8 MB, free: 4.242 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.3656, allocations: 21.72 kB / 434.8 MB, free: 4.215 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3656, allocations: 4 kB / 434.8 MB, free: 4.211 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3656, allocations: 34.56 kB / 434.9 MB, free: 4.168 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3656, allocations: 0 / 434.9 MB, free: 4.168 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2): time 0.000443/0.3661, allocations: 61.61 kB / 434.9 MB, free: 4.102 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.3661, allocations: 77.36 kB / 435 MB, free: 4.008 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.3663, allocations: 141 kB / 435.1 MB, free: 3.859 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3664, allocations: 29.7 kB / 435.2 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.3664, allocations: 88.12 kB / 435.3 MB, free: 3.734 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.3664, allocations: 0 / 435.3 MB, free: 3.734 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.3665, allocations: 17.72 kB / 435.3 MB, free: 3.711 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002009/0.3667, allocations: 310.8 kB / 435.6 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.3668, allocations: 7.984 kB / 435.6 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.085e-05/0.3668, allocations: 29.66 kB / 435.6 MB, free: 3.355 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/0.3669, allocations: 21.7 kB / 435.6 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3669, allocations: 0 / 435.6 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001722/0.3671, allocations: 61.52 kB / 435.7 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3671, allocations: 6.5 kB / 435.7 MB, free: 3.258 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3671, allocations: 8.125 kB / 435.7 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3671, allocations: 0 / 435.7 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.3672, allocations: 7.984 kB / 435.7 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3672, allocations: 0 / 435.7 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.3673, allocations: 7.938 kB / 435.7 MB, free: 3.234 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.3673, allocations: 0 / 435.7 MB, free: 3.234 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 2 (step.y,sample1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * 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.0001391/0.3674, allocations: 121.8 kB / 435.8 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.3675, allocations: 41.59 kB / 435.9 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.3675, allocations: 19.8 kB / 435.9 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3676, allocations: 4 kB / 435.9 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3676, allocations: 0 / 435.9 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3676, allocations: 0 / 435.9 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.3679, allocations: 140.7 kB / 436 MB, free: 2.855 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3679, allocations: 0 / 436 MB, free: 2.855 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.3679, allocations: 8 kB / 436.1 MB, free: 2.848 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.3679, allocations: 0 / 436.1 MB, free: 2.848 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.368, allocations: 3.984 kB / 436.1 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.368, allocations: 0 / 436.1 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.368, allocations: 0 / 436.1 MB, free: 2.844 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.3682, allocations: 156.3 kB / 436.2 MB, free: 2.672 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.3683, allocations: 15.94 kB / 436.2 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3683, allocations: 3.938 kB / 436.2 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.3684, allocations: 4 kB / 436.2 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3684, allocations: 0 / 436.2 MB, free: 2.648 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.3684, allocations: 7.969 kB / 436.2 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001236/0.3686, allocations: 111.2 kB / 436.3 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.3686, allocations: 0 / 436.3 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003695/0.3689, allocations: 4 kB / 436.4 MB, free: 2.527 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 2 (step.y,sample1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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.0001449/0.3691, allocations: 95.25 kB / 436.4 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000166/0.3692, allocations: 19.98 kB / 436.5 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3692, allocations: 128 / 436.5 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.3693, allocations: 15.92 kB / 436.5 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3698, allocations: 18.72 kB / 436.5 MB, free: 2.375 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.3702, allocations: 142.5 kB / 436.6 MB, free: 2.203 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3706, allocations: 0.6846 MB / 437.3 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.3e-05/0.3707, allocations: 0 / 437.3 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3707, allocations: 15.58 kB / 437.3 MB, free: 1.477 MB / 334.1 MB
Notification: Performance of SimCode: time 3.61e-07/0.3707, allocations: 4 kB / 437.3 MB, free: 1.473 MB / 334.1 MB
Notification: Performance of Templates: time 0.004182/0.3749, allocations: 455.5 kB / 437.8 MB, free: 1.031 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.9764431938529015]