Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001451/0.001451, allocations: 112 kB / 20.43 MB, free: 1.449 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.001482/0.001482, allocations: 187.8 kB / 23.72 MB, free: 4.68 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.559/1.559, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 56 kB / 370.9 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3255, allocations: 52.17 MB / 423.1 MB, free: 14.83 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002995/0.3285, allocations: 1.6 MB / 424.7 MB, free: 13.23 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000887/0.3294, allocations: 470.8 kB / 425.2 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.3295, allocations: 3.938 kB / 425.2 MB, free: 12.76 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.815e-05/0.3295, allocations: 7.922 kB / 425.2 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.3297, allocations: 11.94 kB / 425.2 MB, free: 12.74 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3299, allocations: 43.83 kB / 425.2 MB, free: 12.7 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001007/0.33, allocations: 35.86 kB / 425.3 MB, free: 12.66 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.3301, allocations: 8 kB / 425.3 MB, free: 12.66 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.3302, allocations: 27.84 kB / 425.3 MB, free: 12.63 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.3302, allocations: 15.92 kB / 425.3 MB, free: 12.61 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3303, allocations: 4 kB / 425.3 MB, free: 12.61 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3303, allocations: 4 kB / 425.3 MB, free: 12.61 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.3303, allocations: 11.92 kB / 425.3 MB, free: 12.59 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.3304, allocations: 23.88 kB / 425.4 MB, free: 12.57 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3305, allocations: 53.23 kB / 425.4 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3305, allocations: 0 / 425.4 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.3305, allocations: 0 / 425.4 MB, free: 12.52 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.371e-06/0.3305, allocations: 0 / 425.4 MB, free: 12.52 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.0004829/0.331, allocations: 294 kB / 425.7 MB, free: 12.2 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.331, allocations: 8.031 kB / 425.7 MB, free: 12.2 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3311, allocations: 8.891 kB / 425.7 MB, free: 12.19 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3313, allocations: 138.4 kB / 425.9 MB, free: 12.03 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.3313, allocations: 384 / 425.9 MB, free: 12.03 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3313, allocations: 8.312 kB / 425.9 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3315, allocations: 89.42 kB / 426 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3315, allocations: 0 / 426 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3316, allocations: 0 / 426 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3316, allocations: 4 kB / 426 MB, free: 11.91 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.3316, allocations: 19.92 kB / 426 MB, free: 11.89 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.332, allocations: 232.8 kB / 426.2 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.3321, allocations: 53.09 kB / 426.3 MB, free: 11.55 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.3321, allocations: 21.77 kB / 426.3 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3321, allocations: 0 / 426.3 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3322, allocations: 42.5 kB / 426.3 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3322, allocations: 0 / 426.3 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0002542/0.3324, allocations: 65.56 kB / 426.4 MB, free: 11.4 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.3325, allocations: 81.36 kB / 426.5 MB, free: 11.3 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3326, allocations: 133.8 kB / 426.6 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3326, allocations: 33.64 kB / 426.6 MB, free: 11.12 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.3327, allocations: 88.12 kB / 426.7 MB, free: 11.03 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3327, allocations: 7.922 kB / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.3327, allocations: 21.67 kB / 426.7 MB, free: 11 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000221/0.333, allocations: 314.8 kB / 427.1 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.333, allocations: 19.98 kB / 427.1 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.333, allocations: 13.72 kB / 427.1 MB, free: 10.64 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.415e-05/0.3331, allocations: 29.7 kB / 427.1 MB, free: 10.61 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3331, allocations: 4 kB / 427.1 MB, free: 10.6 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.000127/0.3333, allocations: 61.7 kB / 427.2 MB, free: 10.54 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3333, allocations: 4 kB / 427.2 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.3333, allocations: 4 kB / 427.2 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3333, allocations: 0 / 427.2 MB, free: 10.53 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.3334, allocations: 4 kB / 427.2 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3334, allocations: 0 / 427.2 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.3334, allocations: 7.984 kB / 427.2 MB, free: 10.52 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.3334, allocations: 0 / 427.2 MB, free: 10.52 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: 0 ()
 * 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 9.365e-05/0.3335, allocations: 117.8 kB / 427.3 MB, free: 10.39 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3336, allocations: 49.61 kB / 427.4 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.3336, allocations: 7.812 kB / 427.4 MB, free: 10.33 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3336, allocations: 4 kB / 427.4 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3336, allocations: 0 / 427.4 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3336, allocations: 3.984 kB / 427.4 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3338, allocations: 140.7 kB / 427.5 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3338, allocations: 4 kB / 427.5 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.3339, allocations: 4 kB / 427.5 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3339, allocations: 0 / 427.5 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3339, allocations: 3.984 kB / 427.5 MB, free: 10.13 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3339, allocations: 4.031 kB / 427.5 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3339, allocations: 4 kB / 427.5 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3341, allocations: 160.2 kB / 427.7 MB, free: 9.945 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3341, allocations: 15.88 kB / 427.7 MB, free: 9.93 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3342, allocations: 4 kB / 427.7 MB, free: 9.926 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.3342, allocations: 32 / 427.7 MB, free: 9.926 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3343, allocations: 15.92 kB / 427.7 MB, free: 9.91 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3343, allocations: 0 / 427.7 MB, free: 9.91 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.166e-05/0.3344, allocations: 105.9 kB / 427.8 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3344, allocations: 0 / 427.8 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002391/0.3346, allocations: 4 kB / 427.8 MB, free: 9.805 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: 0 ()
 * 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.000118/0.3347, allocations: 99.25 kB / 427.9 MB, free: 9.699 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.000159/0.3349, allocations: 31.97 kB / 428 MB, free: 9.668 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3349, allocations: 0 / 428 MB, free: 9.668 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.3349, allocations: 4 kB / 428 MB, free: 9.664 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3353, allocations: 19.95 kB / 428 MB, free: 9.645 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.3356, allocations: 151.8 kB / 428.1 MB, free: 9.465 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.336, allocations: 0.6886 MB / 428.8 MB, free: 8.75 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.069e-05/0.336, allocations: 11.92 kB / 428.8 MB, free: 8.738 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.3361, allocations: 11.44 kB / 428.8 MB, free: 8.727 MB / 334.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3361, allocations: 0 / 428.8 MB, free: 8.727 MB / 334.1 MB
Notification: Performance of Templates: time 0.003044/0.3391, allocations: 492.8 kB / 429.3 MB, free: 8.25 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.783838216215372]