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.001353/0.001353, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00146/0.00146, allocations: 168.7 kB / 24.91 MB, free: 9.195 MB / 18.57 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 0.8768/0.8768, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.192e-06/1.192e-06, allocations: 0 / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.959e-06/1.115e-05, allocations: 2.312 kB / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.001842/0.001853, allocations: 1.812 MB / 275.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.002671, allocations: 0.6775 MB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.002754, allocations: 11.88 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.002884, allocations: 19.8 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003044, allocations: 43.59 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.003345, allocations: 131.6 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.00357, allocations: 151.5 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.003648, allocations: 18.45 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.003787, allocations: 107.7 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.003934, allocations: 91.8 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.003956, allocations: 12 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.119e-05/0.003997, allocations: 19.94 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.00406, allocations: 63.81 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.0041, allocations: 51.83 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.004265, allocations: 171.3 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.004267, allocations: 0 / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004268, allocations: 0 / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004272, allocations: 4 kB / 276.8 MB, free: 13.91 MB / 266.7 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.0004579/0.00473, allocations: 415.8 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.00476, allocations: 8.031 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.00489, allocations: 36.91 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.005102, allocations: 197.3 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.005127, allocations: 20.38 kB / 277.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.005151, allocations: 16.38 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.005663, allocations: 445.4 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.00567, allocations: 192 / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.005687, allocations: 8.375 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.005713, allocations: 19.88 kB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.005832, allocations: 74.75 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.006053, allocations: 200.6 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.006233, allocations: 134.4 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.006325, allocations: 75.2 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.006349, allocations: 11.98 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.006372, allocations: 42.56 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.006373, allocations: 0 / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0003064/0.00668, allocations: 201.4 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.006759, allocations: 138.9 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.00685, allocations: 158.6 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.00687, allocations: 29.7 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.006903, allocations: 97.11 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.006936, allocations: 31.72 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.006991, allocations: 45.92 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.007074, allocations: 334.8 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.007097, allocations: 12.47 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/0.007169, allocations: 116.9 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.007281, allocations: 138.6 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007283, allocations: 4 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001553/0.007439, allocations: 141.3 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.007449, allocations: 4 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007455, allocations: 4.438 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007468, allocations: 11.94 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.007566, allocations: 43.91 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.007572, allocations: 4 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.007634, allocations: 11.95 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.007645, allocations: 11.98 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$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 (27): * Single equations (assignments): 27 * 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 9.475e-05/0.00774, allocations: 136.5 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.007942, allocations: 154.5 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.007986, allocations: 34.64 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.007991, allocations: 7.938 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.007994, allocations: 8 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.007997, allocations: 0 / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.008138, allocations: 109.7 kB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.008141, allocations: 8 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.008299, allocations: 51.92 kB / 280.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.008303, allocations: 3.984 kB / 280.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.008316, allocations: 8 kB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.008319, allocations: 4 kB / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.00832, allocations: 0 / 280.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.955e-05/0.008399, allocations: 168.2 kB / 280.7 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.008467, allocations: 47.8 kB / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.008503, allocations: 16 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.008586, allocations: 11.98 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.008605, allocations: 3.938 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.008621, allocations: 12 kB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.738e-05/0.008658, allocations: 45.84 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008658, allocations: 0 / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.008916, allocations: 40 kB / 280.8 MB, free: 9.508 MB / 266.7 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 8.412e-05/0.009, allocations: 104.8 kB / 281 MB, free: 9.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.009167, allocations: 118.2 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.009171, allocations: 4 kB / 281.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.009182, allocations: 8.844 kB / 281.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.009535, allocations: 134.4 kB / 281.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000824/0.01036, allocations: 0.5029 MB / 281.7 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.01044, allocations: 116.8 kB / 281.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.01047, allocations: 9.953 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.01056, allocations: 79.36 kB / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01056, allocations: 0 / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of Templates: time 0.004841/0.0154, allocations: 2.687 MB / 284.6 MB, free: 5.723 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5814422871917486]