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.UpSample2.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.001419/0.001419, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001512/0.001512, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.582/1.582, allocations: 230.6 MB / 258.2 MB, free: 8.039 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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2")
translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [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.002217/0.002217, allocations: 60.78 kB / 379 MB, free: 2.652 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3612, allocations: 53.36 MB / 432.4 MB, free: 6.98 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.005234/0.3664, allocations: 1.796 MB / 434.2 MB, free: 5.18 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002066/0.3685, allocations: 0.6855 MB / 434.9 MB, free: 4.488 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.3688, allocations: 7.938 kB / 434.9 MB, free: 4.48 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3691, allocations: 23.8 kB / 434.9 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.3695, allocations: 43.7 kB / 435 MB, free: 4.414 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.3704, allocations: 135.7 kB / 435.1 MB, free: 4.281 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004889/0.3709, allocations: 167.5 kB / 435.3 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.3711, allocations: 25.73 kB / 435.3 MB, free: 4.09 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.3715, allocations: 79.75 kB / 435.4 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.3718, allocations: 115.6 kB / 435.5 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.3719, allocations: 16 kB / 435.5 MB, free: 3.883 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3721, allocations: 19.98 kB / 435.5 MB, free: 3.863 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3722, allocations: 63.81 kB / 435.6 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3724, allocations: 91.39 kB / 435.7 MB, free: 3.711 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000652/0.373, allocations: 220.8 kB / 435.9 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3731, allocations: 0 / 435.9 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.395e-06/0.3731, allocations: 0 / 435.9 MB, free: 3.5 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.383e-05/0.3731, allocations: 0 / 435.9 MB, free: 3.5 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: 49
 * Number of variables: 49
Notification: Performance of Generate backend data structure: time 0.001626/0.3747, allocations: 443.7 kB / 436.3 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 0.0001019/0.3748, allocations: 8.031 kB / 436.3 MB, free: 3.031 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.3751, allocations: 40.73 kB / 436.4 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.3757, allocations: 194 kB / 436.5 MB, free: 2.777 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.3757, allocations: 20.38 kB / 436.6 MB, free: 2.758 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3758, allocations: 16.38 kB / 436.6 MB, free: 2.742 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.3773, allocations: 0.6381 MB / 437.2 MB, free: 2.082 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3773, allocations: 4 kB / 437.2 MB, free: 2.078 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.3773, allocations: 4 kB / 437.2 MB, free: 2.074 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.3774, allocations: 15.98 kB / 437.2 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004697/0.3778, allocations: 192.5 kB / 437.4 MB, free: 1.871 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.3785, allocations: 337.4 kB / 437.8 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.379, allocations: 222.9 kB / 438 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.3793, allocations: 154.4 kB / 438.1 MB, free: 1.09 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.3793, allocations: 8.141 kB / 438.1 MB, free: 1.082 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.3794, allocations: 46.55 kB / 438.2 MB, free: 1.027 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=39): time 2.244e-06/0.3794, allocations: 0 / 438.2 MB, free: 1.027 MB / 334.1 MB
Notification: Performance of matching and sorting (n=39): time 0.001043/0.3804, allocations: 417.8 kB / 438.6 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.3806, allocations: 142.6 kB / 438.7 MB, free: 460 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3808, allocations: 175 kB / 438.9 MB, free: 276 kB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3809, allocations: 29.7 kB / 438.9 MB, free: 240 kB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.381, allocations: 105.2 kB / 439 MB, free: 132 kB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.928e-05/0.3811, allocations: 51.67 kB / 439.1 MB, free: 80 kB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.3812, allocations: 74.14 kB / 439.2 MB, free: 0 / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0003611/0.3816, allocations: 330.8 kB / 439.5 MB, free: 15.67 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3818, allocations: 80.81 kB / 439.6 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.3823, allocations: 318.7 kB / 439.9 MB, free: 15.16 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.383, allocations: 416.9 kB / 440.3 MB, free: 14.63 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.383, allocations: 0 / 440.3 MB, free: 14.63 MB / 350.1 MB
Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007833/0.3838, allocations: 413.3 kB / 440.7 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.3838, allocations: 8 kB / 440.7 MB, free: 14.21 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3838, allocations: 8 kB / 440.7 MB, free: 14.21 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-05/0.3839, allocations: 12 kB / 440.7 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3841, allocations: 83.77 kB / 440.8 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.3841, allocations: 16.47 kB / 440.8 MB, free: 14.1 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3844, allocations: 39.84 kB / 440.8 MB, free: 14.06 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3844, allocations: 24 kB / 440.9 MB, free: 14.04 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 39
 * Number of states: 0 ()
 * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b)
 * Number of discrete states: 0 ()
 * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b)
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (52):
 * Single equations (assignments): 52
 * 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.0002938/0.3847, allocations: 182.3 kB / 441 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/0.3853, allocations: 298.4 kB / 441.3 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3854, allocations: 34.66 kB / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3854, allocations: 4 kB / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3854, allocations: 3.938 kB / 441.4 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3854, allocations: 7.984 kB / 441.4 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.3858, allocations: 224.4 kB / 441.6 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3858, allocations: 0 / 441.6 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.3861, allocations: 67.89 kB / 441.7 MB, free: 13.17 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3861, allocations: 0 / 441.7 MB, free: 13.17 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.3861, allocations: 8 kB / 441.7 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.3861, allocations: 11.92 kB / 441.7 MB, free: 13.15 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3862, allocations: 0 / 441.7 MB, free: 13.15 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.387, allocations: 439.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.3871, allocations: 55.77 kB / 442.2 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.3872, allocations: 19.98 kB / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3873, allocations: 8 kB / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3873, allocations: 11.92 kB / 442.2 MB, free: 12.61 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.3874, allocations: 11.94 kB / 442.2 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001341/0.3875, allocations: 131.2 kB / 442.4 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3875, allocations: 0 / 442.4 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004588/0.388, allocations: 52 kB / 442.4 MB, free: 12.41 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first)
 * Number of discrete states: 0 ()
 * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first)
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (39):
 * Single equations (assignments): 39
 * 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.0002966/0.3883, allocations: 113 kB / 442.5 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006368/0.3889, allocations: 289 kB / 442.8 MB, free: 12.01 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3889, allocations: 0 / 442.8 MB, free: 12.01 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.389, allocations: 11.98 kB / 442.8 MB, free: 12 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.3897, allocations: 208 kB / 443 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3913, allocations: 0.5415 MB / 443.6 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.3919, allocations: 0.7837 MB / 444.3 MB, free: 10.41 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 8.312e-05/0.392, allocations: 22.3 kB / 444.4 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.3921, allocations: 31.42 kB / 444.4 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of SimCode: time 1.513e-06/0.3921, allocations: 0 / 444.4 MB, free: 10.36 MB / 350.1 MB
Notification: Performance of Templates: time 0.008345/0.4004, allocations: 2.966 MB / 447.4 MB, free: 7.406 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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: 5.059126637876034]