Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001925/0.001925, 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.002607/0.002607, allocations: 211.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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 72.75 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3343, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003658/0.3379, allocations: 1.624 MB / 434 MB, free: 5.324 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001229/0.3392, allocations: 0.5764 MB / 434.6 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3393, allocations: 0 / 434.6 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.3393, allocations: 11.81 kB / 434.6 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3395, allocations: 11.92 kB / 434.6 MB, free: 4.719 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3398, allocations: 67.75 kB / 434.7 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001436/0.34, allocations: 47.84 kB / 434.7 MB, free: 4.605 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3401, allocations: 12.17 kB / 434.8 MB, free: 4.594 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3402, allocations: 31.86 kB / 434.8 MB, free: 4.562 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.3403, allocations: 15.92 kB / 434.8 MB, free: 4.547 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3403, allocations: 4 kB / 434.8 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.3404, allocations: 4 kB / 434.8 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.3404, allocations: 23.91 kB / 434.8 MB, free: 4.516 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.3405, allocations: 27.75 kB / 434.9 MB, free: 4.488 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3406, allocations: 61.36 kB / 434.9 MB, free: 4.434 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3406, allocations: 4 kB / 434.9 MB, free: 4.43 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.565e-06/0.3406, allocations: 0 / 434.9 MB, free: 4.43 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.253e-06/0.3407, allocations: 0 / 434.9 MB, free: 4.43 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0006067/0.3413, allocations: 313.9 kB / 435.2 MB, free: 4.094 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3413, allocations: 12.03 kB / 435.2 MB, free: 4.082 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.3415, allocations: 16.88 kB / 435.3 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.3418, allocations: 146.9 kB / 435.4 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3418, allocations: 4.359 kB / 435.4 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3418, allocations: 7.938 kB / 435.4 MB, free: 3.887 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.3421, allocations: 109.9 kB / 435.5 MB, free: 3.758 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3421, allocations: 7.938 kB / 435.5 MB, free: 3.75 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3422, allocations: 4 kB / 435.5 MB, free: 3.746 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3422, allocations: 0 / 435.5 MB, free: 3.746 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.343e-05/0.3423, allocations: 19.98 kB / 435.6 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3426, allocations: 245.6 kB / 435.8 MB, free: 3.438 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3428, allocations: 71.78 kB / 435.9 MB, free: 3.34 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.3428, allocations: 30.64 kB / 435.9 MB, free: 3.301 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3429, allocations: 3.984 kB / 435.9 MB, free: 3.297 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3429, allocations: 34.56 kB / 435.9 MB, free: 3.254 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3429, allocations: 0 / 435.9 MB, free: 3.254 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002958/0.3432, allocations: 89.45 kB / 436 MB, free: 3.16 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.3433, allocations: 110.8 kB / 436.1 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.3435, allocations: 151.8 kB / 436.3 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3435, allocations: 26.08 kB / 436.3 MB, free: 2.84 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.3436, allocations: 92.14 kB / 436.4 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.3436, allocations: 4 kB / 436.4 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.3436, allocations: 33.53 kB / 436.4 MB, free: 2.703 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001504/0.3438, allocations: 310.8 kB / 436.7 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.3438, allocations: 11.98 kB / 436.7 MB, free: 2.379 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/0.3439, allocations: 31.42 kB / 436.8 MB, free: 2.336 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.721e-05/0.344, allocations: 55.36 kB / 436.8 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.344, allocations: 4 kB / 436.8 MB, free: 2.266 MB / 334.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.3441, allocations: 69.59 kB / 436.9 MB, free: 2.191 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3441, allocations: 4 kB / 436.9 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3441, allocations: 0 / 436.9 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3441, allocations: 4 kB / 436.9 MB, free: 2.184 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.3442, allocations: 11.98 kB / 436.9 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3442, allocations: 0 / 436.9 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.3443, allocations: 7.938 kB / 436.9 MB, free: 2.164 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.3443, allocations: 0 / 436.9 MB, free: 2.164 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: 0 ()
 * 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 9.106e-05/0.3444, allocations: 125.9 kB / 437.1 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.3444, allocations: 57.55 kB / 437.1 MB, free: 1.969 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.3445, allocations: 11.95 kB / 437.1 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3445, allocations: 0 / 437.1 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3445, allocations: 0 / 437.1 MB, free: 1.953 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3445, allocations: 7.938 kB / 437.1 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.3447, allocations: 144.7 kB / 437.3 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3447, allocations: 0 / 437.3 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.3447, allocations: 11.98 kB / 437.3 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3447, allocations: 0 / 437.3 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3447, allocations: 4.062 kB / 437.3 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3447, allocations: 0 / 437.3 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3447, allocations: 7.938 kB / 437.3 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3449, allocations: 177.2 kB / 437.5 MB, free: 1.543 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.345, allocations: 19.88 kB / 437.5 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.345, allocations: 8 kB / 437.5 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.46e-05/0.3451, allocations: 0 / 437.5 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3451, allocations: 15.92 kB / 437.5 MB, free: 1.5 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3451, allocations: 0 / 437.5 MB, free: 1.5 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 8.494e-05/0.3452, allocations: 114.1 kB / 437.6 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3452, allocations: 0 / 437.6 MB, free: 1.391 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002215/0.3454, allocations: 4 kB / 437.6 MB, free: 1.387 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (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.0001027/0.3455, allocations: 99.19 kB / 437.7 MB, free: 1.281 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001511/0.3457, allocations: 39.92 kB / 437.8 MB, free: 1.242 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3457, allocations: 0 / 437.8 MB, free: 1.242 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.3457, allocations: 11.92 kB / 437.8 MB, free: 1.23 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.3461, allocations: 23.95 kB / 437.8 MB, free: 1.207 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.3465, allocations: 193 kB / 438 MB, free: 0.9883 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3469, allocations: 0.6924 MB / 438.7 MB, free: 276 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.334e-05/0.3469, allocations: 0 / 438.7 MB, free: 276 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.3469, allocations: 15.42 kB / 438.7 MB, free: 260 kB / 334.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3469, allocations: 0 / 438.7 MB, free: 260 kB / 334.1 MB
Notification: Performance of Templates: time 0.003223/0.3502, allocations: 0.634 MB / 439.3 MB, free: 15.62 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.974131694063544]