Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001556/0.001556, allocations: 109 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.001667/0.001667, 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.574/1.574, 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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 59.91 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3087, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002966/0.3117, allocations: 1.59 MB / 433.7 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001012/0.3127, allocations: 0.5376 MB / 434.2 MB, free: 4.918 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.3128, allocations: 0 / 434.2 MB, free: 4.918 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.3128, allocations: 7.938 kB / 434.3 MB, free: 4.91 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3129, allocations: 15.86 kB / 434.3 MB, free: 4.895 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.3133, allocations: 55.81 kB / 434.3 MB, free: 4.84 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001227/0.3134, allocations: 35.86 kB / 434.4 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3135, allocations: 11.98 kB / 434.4 MB, free: 4.793 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3137, allocations: 31.86 kB / 434.4 MB, free: 4.762 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.3138, allocations: 19.86 kB / 434.4 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3138, allocations: 4 kB / 434.4 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.3138, allocations: 7.984 kB / 434.4 MB, free: 4.73 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.3139, allocations: 8 kB / 434.4 MB, free: 4.723 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.3139, allocations: 31.8 kB / 434.5 MB, free: 4.691 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3141, allocations: 55.41 kB / 434.5 MB, free: 4.641 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3141, allocations: 0 / 434.5 MB, free: 4.641 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.362e-06/0.3141, allocations: 0 / 434.5 MB, free: 4.641 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 4.999e-06/0.3141, allocations: 0 / 434.5 MB, free: 4.641 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.0005146/0.3146, allocations: 292 kB / 434.8 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3147, allocations: 12.03 kB / 434.8 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.3149, allocations: 16.88 kB / 434.8 MB, free: 4.301 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.3152, allocations: 145.1 kB / 435 MB, free: 4.137 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3152, allocations: 384 / 435 MB, free: 4.137 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3152, allocations: 4.375 kB / 435 MB, free: 4.133 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.3154, allocations: 97.34 kB / 435.1 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3155, allocations: 3.938 kB / 435.1 MB, free: 4.016 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.3155, allocations: 4 kB / 435.1 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3155, allocations: 0 / 435.1 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.3156, allocations: 15.98 kB / 435.1 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.316, allocations: 240.7 kB / 435.3 MB, free: 3.715 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.746e-05/0.3161, allocations: 45.22 kB / 435.4 MB, free: 3.652 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.3161, allocations: 17.77 kB / 435.4 MB, free: 3.629 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.3162, allocations: 11.97 kB / 435.4 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3162, allocations: 38.5 kB / 435.5 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3162, allocations: 0 / 435.5 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0003296/0.3165, allocations: 69.75 kB / 435.5 MB, free: 3.496 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.3166, allocations: 81.05 kB / 435.6 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.3168, allocations: 138.2 kB / 435.7 MB, free: 3.25 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3169, allocations: 29.7 kB / 435.8 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.317, allocations: 88.12 kB / 435.8 MB, free: 3.125 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.317, allocations: 4 kB / 435.9 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.317, allocations: 13.67 kB / 435.9 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001982/0.3172, allocations: 322.9 kB / 436.2 MB, free: 2.777 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.3173, allocations: 7.984 kB / 436.2 MB, free: 2.77 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.3174, allocations: 17.72 kB / 436.2 MB, free: 2.746 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.3175, allocations: 33.58 kB / 436.2 MB, free: 2.707 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3175, allocations: 0 / 436.2 MB, free: 2.707 MB / 334.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001466/0.3176, allocations: 61.73 kB / 436.3 MB, free: 2.641 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3176, allocations: 10.34 kB / 436.3 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3176, allocations: 0 / 436.3 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.3177, allocations: 0 / 436.3 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3178, allocations: 4 kB / 436.3 MB, free: 2.629 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3178, allocations: 3.938 kB / 436.3 MB, free: 2.625 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.277e-05/0.3178, allocations: 7.984 kB / 436.3 MB, free: 2.617 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3178, allocations: 4 kB / 436.3 MB, free: 2.613 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 0.000173/0.318, allocations: 117.8 kB / 436.4 MB, free: 2.488 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.3181, allocations: 45.64 kB / 436.5 MB, free: 2.438 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.3182, allocations: 11.77 kB / 436.5 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3182, allocations: 0 / 436.5 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3182, allocations: 0 / 436.5 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3182, allocations: 0 / 436.5 MB, free: 2.426 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.3184, allocations: 144.7 kB / 436.6 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3184, allocations: 0 / 436.6 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3185, allocations: 4 kB / 436.6 MB, free: 2.238 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.3185, allocations: 8.016 kB / 436.7 MB, free: 2.23 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3185, allocations: 4 kB / 436.7 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3185, allocations: 0 / 436.7 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3185, allocations: 7.875 kB / 436.7 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3187, allocations: 160.3 kB / 436.8 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.3188, allocations: 15.94 kB / 436.8 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3188, allocations: 4.031 kB / 436.8 MB, free: 2.023 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.3189, allocations: 4 kB / 436.8 MB, free: 2.02 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3189, allocations: 7.922 kB / 436.9 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3189, allocations: 0 / 436.9 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 9.253e-05/0.319, allocations: 110 kB / 437 MB, free: 1.906 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.319, allocations: 0 / 437 MB, free: 1.906 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002387/0.3193, allocations: 4 kB / 437 MB, free: 1.902 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.0001368/0.3194, allocations: 99.17 kB / 437.1 MB, free: 1.797 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001633/0.3196, allocations: 31.92 kB / 437.1 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3196, allocations: 0 / 437.1 MB, free: 1.766 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.3196, allocations: 4 kB / 437.1 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3199, allocations: 19.95 kB / 437.1 MB, free: 1.742 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.3204, allocations: 156 kB / 437.3 MB, free: 1.559 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.3207, allocations: 0.6924 MB / 438 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.601e-05/0.3208, allocations: 0 / 438 MB, free: 0.8398 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.3208, allocations: 11.44 kB / 438 MB, free: 0.8281 MB / 334.1 MB
Notification: Performance of SimCode: time 4.41e-07/0.3208, allocations: 0 / 438 MB, free: 0.8281 MB / 334.1 MB
Notification: Performance of Templates: time 0.003525/0.3243, allocations: 0.501 MB / 438.5 MB, free: 344 kB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.796628467738628]