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.001887/0.001887, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002609/0.002609, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001629/0.001629, allocations: 47.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2843, allocations: 53.36 MB / 431.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003185/0.2875, allocations: 1.757 MB / 433.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2889, allocations: 0.6427 MB / 434 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.2891, allocations: 11.88 kB / 434 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.2893, allocations: 15.8 kB / 434 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.2895, allocations: 47.7 kB / 434.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.2901, allocations: 135.7 kB / 434.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.2903, allocations: 159.6 kB / 434.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2905, allocations: 21.73 kB / 434.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.2907, allocations: 87.62 kB / 434.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.2909, allocations: 103.6 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.291, allocations: 12 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.94e-05/0.291, allocations: 23.94 kB / 434.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.2911, allocations: 67.8 kB / 434.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2912, allocations: 67.59 kB / 434.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.2916, allocations: 217.3 kB / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.2916, allocations: 0 / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2916, allocations: 0 / 434.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2916, allocations: 3.984 kB / 434.9 MB, free: 3.395 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.000982/0.2926, allocations: 453.2 kB / 435.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2926, allocations: 8.031 kB / 435.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.2928, allocations: 40.73 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.2932, allocations: 194.1 kB / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.2933, allocations: 16.38 kB / 435.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.2933, allocations: 16.38 kB / 435.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2944, allocations: 0.6303 MB / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2944, allocations: 4 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2945, allocations: 7.984 kB / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.2945, allocations: 15.98 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.2949, allocations: 196.5 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.2954, allocations: 274.1 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.2959, allocations: 223.6 kB / 437 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.2961, allocations: 138.6 kB / 437.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.2962, allocations: 8 kB / 437.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.2962, allocations: 34.56 kB / 437.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 2.495e-06/0.2962, allocations: 0 / 437.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009563/0.2972, allocations: 437.7 kB / 437.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.2973, allocations: 134.9 kB / 437.7 MB, free: 432 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2975, allocations: 175 kB / 437.9 MB, free: 248 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2976, allocations: 29.7 kB / 437.9 MB, free: 212 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.2977, allocations: 101.1 kB / 438 MB, free: 108 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.2977, allocations: 55.67 kB / 438.1 MB, free: 52 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2978, allocations: 66.22 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.298, allocations: 338.8 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2982, allocations: 68.83 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.2985, allocations: 330.9 kB / 438.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.299, allocations: 416.9 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.299, allocations: 3.938 kB / 439.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006512/0.2997, allocations: 413.7 kB / 439.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2997, allocations: 8 kB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2997, allocations: 8 kB / 439.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2998, allocations: 15.94 kB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3, allocations: 83.84 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.3, allocations: 19.92 kB / 439.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.3002, allocations: 31.84 kB / 439.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.3002, allocations: 27.94 kB / 439.9 MB, free: 14 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.0002041/0.3004, allocations: 182.5 kB / 440 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000537/0.301, allocations: 294.4 kB / 440.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.333e-05/0.3011, allocations: 38.64 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3011, allocations: 4 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3011, allocations: 4 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3011, allocations: 0 / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3013, allocations: 153.1 kB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3013, allocations: 3.938 kB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.3016, allocations: 63.91 kB / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3016, allocations: 4 kB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.3016, allocations: 11.98 kB / 440.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3016, allocations: 4 kB / 440.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3016, allocations: 0 / 440.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.3023, allocations: 440.1 kB / 441 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.3024, allocations: 55.7 kB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.3024, allocations: 19.98 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3026, allocations: 11.98 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.3026, allocations: 7.984 kB / 441.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3026, allocations: 12 kB / 441.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.3028, allocations: 131.2 kB / 441.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3028, allocations: 4 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.3032, allocations: 44 kB / 441.3 MB, free: 12.47 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.0001506/0.3033, allocations: 122.5 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.3039, allocations: 293 kB / 441.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3039, allocations: 0 / 441.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.3039, allocations: 7.984 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.3046, allocations: 219.2 kB / 441.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3059, allocations: 0.535 MB / 442.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.3061, allocations: 177.9 kB / 442.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.3062, allocations: 18.3 kB / 442.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.3062, allocations: 31.42 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3062, allocations: 3.938 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Templates: time 0.00719/0.3134, allocations: 2.968 MB / 445.7 MB, free: 8.094 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.791980899870396]