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.0009862/0.0009862, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001408/0.001408, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 1.138/1.138, allocations: 177.1 MB / 205 MB, free: 5.285 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.853e-06/1.853e-06, allocations: 0 / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.296e-05, allocations: 2.312 kB / 273 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002497/0.00253, allocations: 1.809 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003536, allocations: 0.6621 MB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.003651, allocations: 7.875 kB / 275.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.00383, allocations: 23.73 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.004075, allocations: 51.64 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.00447, allocations: 131.6 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.004676, allocations: 147.5 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004784, allocations: 21.73 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.004975, allocations: 99.77 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.005175, allocations: 91.75 kB / 276 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.00521, allocations: 12 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.005266, allocations: 20 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.005338, allocations: 71.8 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.005394, allocations: 51.83 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.005666, allocations: 175.3 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005668, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00567, allocations: 0 / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.005676, allocations: 0 / 276.3 MB, free: 13.98 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.0006401/0.006316, allocations: 0.5269 MB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.006356, allocations: 11.97 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.006516, allocations: 48.75 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.006825, allocations: 200.2 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.006854, allocations: 12.38 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.006877, allocations: 20.38 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.007517, allocations: 0.4902 MB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007528, allocations: 192 / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.007546, allocations: 4.375 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.007586, allocations: 19.88 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.007732, allocations: 91.89 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.008093, allocations: 338.9 kB / 278.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.008338, allocations: 173.1 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.008453, allocations: 103.7 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.008483, allocations: 8 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.008512, allocations: 53.31 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.008514, allocations: 0 / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004193/0.008933, allocations: 277.5 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002321/0.009165, allocations: 130.8 kB / 278.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.009287, allocations: 221.9 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.00931, allocations: 33.7 kB / 279.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.009367, allocations: 147.9 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.009402, allocations: 39.73 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.009459, allocations: 59.67 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.009582, allocations: 0.4962 MB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.009622, allocations: 24.44 kB / 279.8 MB, free: 10.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.009718, allocations: 152.5 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.009852, allocations: 187.4 kB / 280.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.009856, allocations: 0 / 280.2 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002013/0.01006, allocations: 189.4 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01007, allocations: 11.88 kB / 280.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.01008, allocations: 4 kB / 280.4 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.0101, allocations: 4 kB / 280.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.01021, allocations: 39.92 kB / 280.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.01022, allocations: 4 kB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.01026, allocations: 11.95 kB / 280.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.01027, allocations: 8 kB / 280.4 MB, free: 9.5 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 0.0001284/0.0104, allocations: 192.8 kB / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.01065, allocations: 218.4 kB / 280.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.0107, allocations: 38.64 kB / 280.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.01071, allocations: 4 kB / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01071, allocations: 0 / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01071, allocations: 0 / 280.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.01085, allocations: 164.5 kB / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01085, allocations: 0 / 281 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.011, allocations: 59.91 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.011, allocations: 7.984 kB / 281.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.01102, allocations: 11.94 kB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.01103, allocations: 0 / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01103, allocations: 4 kB / 281.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.01135, allocations: 411.1 kB / 281.5 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.01142, allocations: 51.75 kB / 281.6 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.01146, allocations: 23.92 kB / 281.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.01152, allocations: 8 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.01155, allocations: 8 kB / 281.6 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01156, allocations: 11.98 kB / 281.6 MB, free: 8.227 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.01163, allocations: 164.2 kB / 281.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 4 kB / 281.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01184, allocations: 40 kB / 281.8 MB, free: 8.023 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 0.0001069/0.01195, allocations: 119.6 kB / 281.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.01217, allocations: 152.2 kB / 282.1 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01217, allocations: 4 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/0.01218, allocations: 15.69 kB / 282.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.01288, allocations: 150.9 kB / 282.3 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/0.01385, allocations: 497 kB / 282.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.01393, allocations: 112.8 kB / 282.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.01396, allocations: 13.95 kB / 282.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.01402, allocations: 28.56 kB / 282.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01402, allocations: 0 / 282.9 MB, free: 6.883 MB / 266.7 MB Notification: Performance of Templates: time 0.005006/0.01903, allocations: 2.574 MB / 285.5 MB, free: 4.336 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: 3.318975309841335]