Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.571/1.571, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.83 kB / 369 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2922, allocations: 53.32 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003688/0.2959, allocations: 1.769 MB / 424 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.2976, allocations: 0.6934 MB / 424.7 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.2978, allocations: 7.938 kB / 424.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.2981, allocations: 23.73 kB / 424.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.2984, allocations: 39.72 kB / 424.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.2991, allocations: 131.1 kB / 424.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.2994, allocations: 155.6 kB / 425.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2996, allocations: 29.53 kB / 425.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.2999, allocations: 79.69 kB / 425.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.3002, allocations: 107.6 kB / 425.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.3002, allocations: 16 kB / 425.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.417e-05/0.3003, allocations: 16 kB / 425.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.3004, allocations: 63.81 kB / 425.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.3005, allocations: 91.39 kB / 425.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.301, allocations: 222.6 kB / 425.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.301, allocations: 0 / 425.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.301, allocations: 0 / 425.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.301, allocations: 4 kB / 425.7 MB, free: 4.402 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.001104/0.3021, allocations: 0.5101 MB / 426.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3022, allocations: 8.031 kB / 426.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.3024, allocations: 32.75 kB / 426.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.3028, allocations: 271.8 kB / 426.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3028, allocations: 16.36 kB / 426.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.3029, allocations: 12.38 kB / 426.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3043, allocations: 0.6342 MB / 427.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3043, allocations: 0 / 427.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.3043, allocations: 4 kB / 427.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/0.3044, allocations: 19.98 kB / 427.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.3049, allocations: 187.8 kB / 427.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.3055, allocations: 370.3 kB / 427.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.306, allocations: 231.6 kB / 428 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.3063, allocations: 142.6 kB / 428.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3063, allocations: 8 kB / 428.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3064, allocations: 42.5 kB / 428.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.3064, allocations: 0 / 428.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009138/0.3073, allocations: 421.8 kB / 428.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.3074, allocations: 138.9 kB / 428.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.3076, allocations: 170.4 kB / 428.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.3076, allocations: 37.64 kB / 428.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.3077, allocations: 93.14 kB / 429 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.3078, allocations: 55.81 kB / 429.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.3079, allocations: 78.12 kB / 429.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3081, allocations: 330.8 kB / 429.5 MB, free: 372 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3082, allocations: 76.83 kB / 429.5 MB, free: 296 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.3086, allocations: 322.7 kB / 429.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.3091, allocations: 420.8 kB / 430.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3092, allocations: 4 kB / 430.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006179/0.3098, allocations: 408.8 kB / 430.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.3098, allocations: 8.969 kB / 430.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3098, allocations: 8 kB / 430.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.3098, allocations: 15.98 kB / 430.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.3101, allocations: 83.84 kB / 430.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.3101, allocations: 11.94 kB / 430.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3103, allocations: 39.83 kB / 430.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3103, allocations: 24 kB / 430.9 MB, free: 14.73 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.0002047/0.3105, allocations: 177.6 kB / 431 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005167/0.311, allocations: 298.7 kB / 431.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.627e-05/0.3111, allocations: 38.64 kB / 431.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3111, allocations: 8 kB / 431.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3111, allocations: 0 / 431.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3111, allocations: 4 kB / 431.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.3114, allocations: 253.2 kB / 431.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3114, allocations: 0 / 431.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.3117, allocations: 63.91 kB / 431.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3117, allocations: 0 / 431.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3117, allocations: 11.98 kB / 431.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3117, allocations: 0 / 431.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3117, allocations: 4 kB / 431.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.3123, allocations: 443.7 kB / 432.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3125, allocations: 140.8 kB / 432.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.3126, allocations: 16 kB / 432.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3127, allocations: 15.98 kB / 432.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3127, allocations: 0 / 432.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.3128, allocations: 15.98 kB / 432.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.3129, allocations: 132.3 kB / 432.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3129, allocations: 4 kB / 432.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.3133, allocations: 48 kB / 432.5 MB, free: 12.99 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.0001816/0.3135, allocations: 115.2 kB / 432.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005411/0.314, allocations: 286.1 kB / 432.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.314, allocations: 3.938 kB / 432.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.314, allocations: 4 kB / 432.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.3148, allocations: 215.9 kB / 433.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3161, allocations: 0.5457 MB / 433.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.3165, allocations: 0.7838 MB / 434.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3166, allocations: 26.28 kB / 434.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.3167, allocations: 27.44 kB / 434.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3167, allocations: 0 / 434.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of Templates: time 0.006871/0.3235, allocations: 2.794 MB / 437.3 MB, free: 8.133 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches