Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001521/0.001521, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001678/0.001678, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.91 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2869, allocations: 53.4 MB / 431.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003328/0.2903, allocations: 1.749 MB / 433.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2916, allocations: 0.6349 MB / 434 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.2917, allocations: 11.88 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2919, allocations: 23.8 kB / 434.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.2922, allocations: 43.7 kB / 434.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2926, allocations: 135.7 kB / 434.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2929, allocations: 163.6 kB / 434.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.293, allocations: 21.73 kB / 434.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2932, allocations: 79.69 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2934, allocations: 103.6 kB / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2934, allocations: 16 kB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.2935, allocations: 23.98 kB / 434.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.2936, allocations: 63.81 kB / 434.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.2936, allocations: 67.58 kB / 434.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.2939, allocations: 225.2 kB / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2939, allocations: 0 / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2939, allocations: 0 / 435 MB, free: 3.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.294, allocations: 4 kB / 435 MB, free: 3.207 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.000863/0.2948, allocations: 449.2 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2949, allocations: 11.98 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.295, allocations: 36.73 kB / 435.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.2954, allocations: 198 kB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.2954, allocations: 16.38 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.2954, allocations: 16.38 kB / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.2965, allocations: 0.6381 MB / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2965, allocations: 0 / 436.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.2965, allocations: 4 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.2965, allocations: 16 kB / 436.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.2969, allocations: 191.8 kB / 436.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.2972, allocations: 270.1 kB / 436.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.2977, allocations: 227.6 kB / 437 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2979, allocations: 139.3 kB / 437.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.298, allocations: 11.98 kB / 437.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.298, allocations: 42.5 kB / 437.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.483e-06/0.298, allocations: 0 / 437.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008345/0.2988, allocations: 421.9 kB / 437.6 MB, free: 412 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.299, allocations: 134.9 kB / 437.8 MB, free: 252 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2991, allocations: 182.4 kB / 437.9 MB, free: 60 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.2991, allocations: 29.7 kB / 438 MB, free: 24 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.2992, allocations: 101.1 kB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.2993, allocations: 51.67 kB / 438.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.2994, allocations: 70.14 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2995, allocations: 334.8 kB / 438.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.2997, allocations: 84.75 kB / 438.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.3, allocations: 322.7 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.3004, allocations: 409 kB / 439.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3004, allocations: 8 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006071/0.3011, allocations: 409.7 kB / 439.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3011, allocations: 8 kB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3011, allocations: 12 kB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3011, allocations: 16.06 kB / 439.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.3013, allocations: 75.84 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.3014, allocations: 19.92 kB / 439.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3015, allocations: 31.84 kB / 439.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.3015, allocations: 24 kB / 439.9 MB, free: 13.82 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.0001795/0.3017, allocations: 190 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.3022, allocations: 297.4 kB / 440.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.985e-05/0.3023, allocations: 38.66 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3023, allocations: 8 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3023, allocations: 0 / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3023, allocations: 3.984 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.3025, allocations: 153.1 kB / 440.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3025, allocations: 3.938 kB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3028, allocations: 63.91 kB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3028, allocations: 0 / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3028, allocations: 15.98 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3028, allocations: 4 kB / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3028, allocations: 0 / 440.7 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.3034, allocations: 445 kB / 441.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3036, allocations: 59.69 kB / 441.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3036, allocations: 16 kB / 441.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3038, allocations: 15.98 kB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.3038, allocations: 0 / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3038, allocations: 11.98 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3039, allocations: 127.2 kB / 441.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3039, allocations: 3.938 kB / 441.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.3043, allocations: 52 kB / 441.4 MB, free: 12.28 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.0001447/0.3044, allocations: 115.2 kB / 441.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.3049, allocations: 289.5 kB / 441.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.305, allocations: 8.25 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.305, allocations: 4 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.3056, allocations: 212.4 kB / 442 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.3068, allocations: 0.5331 MB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.307, allocations: 174 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.3071, allocations: 22.28 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3071, allocations: 23.44 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3071, allocations: 0 / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Templates: time 0.006645/0.3138, allocations: 3.003 MB / 445.7 MB, free: 7.891 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.795407215133309]