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.UpSample1.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.001442/0.001442, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00163/0.00163, allocations: 212 kB / 24.54 MB, free: 4.016 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.569/1.569, allocations: 230.6 MB / 258.3 MB, free: 8.078 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [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.001948/0.001948, allocations: 64.77 kB / 379 MB, free: 2.773 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.38, allocations: 53.37 MB / 432.4 MB, free: 6.988 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00412/0.3841, allocations: 1.778 MB / 434.2 MB, free: 5.207 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001421/0.3855, allocations: 0.6193 MB / 434.8 MB, free: 4.582 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.3857, allocations: 7.938 kB / 434.8 MB, free: 4.574 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.119e-05/0.3858, allocations: 15.8 kB / 434.8 MB, free: 4.559 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.386, allocations: 11.88 kB / 434.8 MB, free: 4.547 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.3865, allocations: 103.6 kB / 434.9 MB, free: 4.445 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3867, allocations: 99.75 kB / 435 MB, free: 4.348 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3869, allocations: 24.58 kB / 435.1 MB, free: 4.32 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3871, allocations: 51.78 kB / 435.1 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.3872, allocations: 47.7 kB / 435.2 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.3872, allocations: 8 kB / 435.2 MB, free: 4.215 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.3873, allocations: 12 kB / 435.2 MB, free: 4.203 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.3874, allocations: 27.91 kB / 435.2 MB, free: 4.176 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.3874, allocations: 51.67 kB / 435.3 MB, free: 4.125 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3877, allocations: 115.1 kB / 435.4 MB, free: 4.016 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3877, allocations: 0 / 435.4 MB, free: 4.016 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.615e-06/0.3877, allocations: 4 kB / 435.4 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.586e-06/0.3877, allocations: 0 / 435.4 MB, free: 4.012 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: 25
 * Number of variables: 25
Notification: Performance of Generate backend data structure: time 0.0006931/0.3884, allocations: 357.6 kB / 435.7 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.3885, allocations: 8.031 kB / 435.7 MB, free: 3.625 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.3886, allocations: 28.83 kB / 435.8 MB, free: 3.598 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.389, allocations: 162.3 kB / 435.9 MB, free: 3.414 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.389, allocations: 8.375 kB / 435.9 MB, free: 3.406 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3891, allocations: 12.38 kB / 435.9 MB, free: 3.395 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.3896, allocations: 261.9 kB / 436.2 MB, free: 3.117 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3896, allocations: 3.938 kB / 436.2 MB, free: 3.113 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3896, allocations: 4 kB / 436.2 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3896, allocations: 4 kB / 436.2 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3898, allocations: 47.97 kB / 436.3 MB, free: 3.059 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.3903, allocations: 281.5 kB / 436.5 MB, free: 2.734 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.3905, allocations: 127.9 kB / 436.7 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3907, allocations: 74.59 kB / 436.7 MB, free: 2.5 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.3907, allocations: 8.141 kB / 436.7 MB, free: 2.492 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3908, allocations: 38.5 kB / 436.8 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.3908, allocations: 0 / 436.8 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0004606/0.3912, allocations: 165.5 kB / 436.9 MB, free: 2.277 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.3913, allocations: 126.9 kB / 437.1 MB, free: 2.129 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3915, allocations: 158.1 kB / 437.2 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3915, allocations: 25.7 kB / 437.2 MB, free: 1.934 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.3916, allocations: 100.1 kB / 437.3 MB, free: 1.832 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3916, allocations: 19.89 kB / 437.4 MB, free: 1.812 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.3917, allocations: 33.72 kB / 437.4 MB, free: 1.773 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001842/0.3919, allocations: 326.8 kB / 437.7 MB, free: 1.445 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.392, allocations: 35.97 kB / 437.7 MB, free: 1.41 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3921, allocations: 140.2 kB / 437.9 MB, free: 1.223 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.3924, allocations: 162.8 kB / 438 MB, free: 1.012 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3924, allocations: 4 kB / 438 MB, free: 1.008 MB / 334.1 MB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003094/0.3927, allocations: 185.4 kB / 438.2 MB, free: 0.8203 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3927, allocations: 4 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3927, allocations: 7.938 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3927, allocations: 4 kB / 438.2 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3929, allocations: 31.92 kB / 438.3 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3929, allocations: 7.984 kB / 438.3 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.393, allocations: 19.94 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.393, allocations: 8.312 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 17
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b)
 * Number of discrete states: 0 ()
 * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (21):
 * Single equations (assignments): 21
 * 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.0001496/0.3931, allocations: 142 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.3933, allocations: 121.5 kB / 438.6 MB, free: 476 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.3934, allocations: 24.7 kB / 438.6 MB, free: 452 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3934, allocations: 11.88 kB / 438.6 MB, free: 440 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3934, allocations: 0 / 438.6 MB, free: 440 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3934, allocations: 3.938 kB / 438.6 MB, free: 436 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3936, allocations: 168.6 kB / 438.8 MB, free: 224 kB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3936, allocations: 0 / 438.8 MB, free: 224 kB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.3937, allocations: 27.98 kB / 438.8 MB, free: 196 kB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3937, allocations: 4 kB / 438.8 MB, free: 192 kB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3937, allocations: 4 kB / 438.8 MB, free: 188 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3937, allocations: 0 / 438.8 MB, free: 188 kB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3937, allocations: 0 / 438.8 MB, free: 188 kB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.3941, allocations: 263.8 kB / 439.1 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.3942, allocations: 35.83 kB / 439.1 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.3942, allocations: 4 kB / 439.1 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3943, allocations: 4 kB / 439.1 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3943, allocations: 7.922 kB / 439.1 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3943, allocations: 8 kB / 439.1 MB, free: 15.85 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001028/0.3944, allocations: 115.2 kB / 439.2 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3944, allocations: 0 / 439.2 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003055/0.3947, allocations: 24 kB / 439.3 MB, free: 15.71 MB / 350.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b)
 * Number of discrete states: 0 ()
 * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (17):
 * Single equations (assignments): 17
 * 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.0001507/0.3949, allocations: 103.2 kB / 439.4 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002731/0.3952, allocations: 103.8 kB / 439.5 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3952, allocations: 0 / 439.5 MB, free: 15.5 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.3952, allocations: 9.047 kB / 439.5 MB, free: 15.49 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.3957, allocations: 79.95 kB / 439.5 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.3963, allocations: 273.1 kB / 439.8 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.3967, allocations: 0.7201 MB / 440.5 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.414e-05/0.3968, allocations: 13.44 kB / 440.5 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.3968, allocations: 27.41 kB / 440.6 MB, free: 14.33 MB / 350.1 MB
Notification: Performance of SimCode: time 7.61e-07/0.3968, allocations: 0 / 440.6 MB, free: 14.33 MB / 350.1 MB
Notification: Performance of Templates: time 0.004727/0.4015, allocations: 1.323 MB / 441.9 MB, free: 13.02 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.958496478386223]