Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 210.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3703, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.004729/0.3751, allocations: 1.761 MB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.377, allocations: 0.6388 MB / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3772, allocations: 11.88 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.3774, allocations: 23.8 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3777, allocations: 39.72 kB / 434.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.3784, allocations: 131.7 kB / 434.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.3788, allocations: 159.6 kB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.3789, allocations: 29.73 kB / 434.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.3792, allocations: 79.69 kB / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.3795, allocations: 111.6 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.3795, allocations: 16 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.3796, allocations: 16 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3797, allocations: 71.75 kB / 434.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3798, allocations: 71.58 kB / 434.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.3803, allocations: 213.3 kB / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3803, allocations: 0 / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3803, allocations: 0 / 434.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.3803, allocations: 0 / 434.9 MB, free: 3.371 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.001176/0.3815, allocations: 449.2 kB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.3815, allocations: 12.03 kB / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.3818, allocations: 40.73 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.3822, allocations: 194.1 kB / 435.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.3823, allocations: 12.38 kB / 435.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.3824, allocations: 20.38 kB / 435.6 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.3841, allocations: 0.6381 MB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3842, allocations: 0 / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.3842, allocations: 4 kB / 436.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.3842, allocations: 15.98 kB / 436.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.3848, allocations: 188.5 kB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.3855, allocations: 270.1 kB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.386, allocations: 235.4 kB / 437 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.3863, allocations: 142.6 kB / 437.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.3864, allocations: 8 kB / 437.1 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.3864, allocations: 38.5 kB / 437.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.3864, allocations: 4 kB / 437.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.001066/0.3875, allocations: 429.9 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.3876, allocations: 134.7 kB / 437.7 MB, free: 404 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.3878, allocations: 175 kB / 437.9 MB, free: 220 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.3878, allocations: 33.7 kB / 437.9 MB, free: 180 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.3879, allocations: 101.3 kB / 438 MB, free: 76 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.388, allocations: 47.67 kB / 438.1 MB, free: 28 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3881, allocations: 74.12 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.3884, allocations: 334.8 kB / 438.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3885, allocations: 80.83 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.3889, allocations: 318.7 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.3894, allocations: 416.9 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3894, allocations: 4 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007618/0.3902, allocations: 409 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.3902, allocations: 11.94 kB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.3902, allocations: 12 kB / 439.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.3903, allocations: 8.75 kB / 439.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.3906, allocations: 83.84 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.3906, allocations: 23.92 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3908, allocations: 27.84 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3908, allocations: 27.98 kB / 439.9 MB, free: 13.98 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.0002243/0.391, allocations: 186.3 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/0.3916, allocations: 298.4 kB / 440.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/0.3917, allocations: 38.64 kB / 440.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.3917, allocations: 4 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3917, allocations: 0 / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3917, allocations: 0 / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.3919, allocations: 165.1 kB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3919, allocations: 3.938 kB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.3922, allocations: 59.91 kB / 440.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3922, allocations: 0 / 440.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.3922, allocations: 11.98 kB / 440.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3922, allocations: 4 kB / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3922, allocations: 400 / 440.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.3929, allocations: 439.8 kB / 441 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.393, allocations: 59.7 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.3931, allocations: 19.98 kB / 441.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3932, allocations: 12 kB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3933, allocations: 3.984 kB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.3933, allocations: 12 kB / 441.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.3934, allocations: 127.2 kB / 441.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3934, allocations: 3.938 kB / 441.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.3938, allocations: 52 kB / 441.3 MB, free: 12.44 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.0001738/0.394, allocations: 111.2 kB / 441.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.3945, allocations: 289.3 kB / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3945, allocations: 0 / 441.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.3946, allocations: 8.547 kB / 441.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.3954, allocations: 229.2 kB / 442 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3969, allocations: 0.538 MB / 442.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3972, allocations: 165.9 kB / 442.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.3973, allocations: 26.28 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.3973, allocations: 31.42 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of SimCode: time 9.91e-07/0.3974, allocations: 0 / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of Templates: time 0.00846/0.4058, allocations: 3.083 MB / 445.8 MB, free: 7.953 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.819359818007797]