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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001377, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001576/0.001576, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-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=5018,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=5018,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] "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.001902/0.001902, allocations: 72.02 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2968, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003351/0.3002, allocations: 1.792 MB / 433.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3015, allocations: 0.6856 MB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3017, allocations: 7.938 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.3018, allocations: 15.8 kB / 434.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.3021, allocations: 51.7 kB / 434.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.3025, allocations: 131.7 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.3028, allocations: 155.6 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3029, allocations: 21.55 kB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3031, allocations: 83.69 kB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3033, allocations: 111.6 kB / 435.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.3034, allocations: 16 kB / 435.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.3034, allocations: 20 kB / 435.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.3035, allocations: 55.83 kB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3036, allocations: 99.39 kB / 435.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.3039, allocations: 216.6 kB / 435.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3039, allocations: 0 / 435.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3039, allocations: 4 kB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3039, allocations: 0 / 435.5 MB, free: 3.926 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.0009025/0.3048, allocations: 0.5023 MB / 436 MB, free: 3.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3049, allocations: 12.03 kB / 436 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.305, allocations: 40.73 kB / 436.1 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.3054, allocations: 263.8 kB / 436.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/0.3054, allocations: 12.38 kB / 436.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.3055, allocations: 20.38 kB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3066, allocations: 0.6342 MB / 437 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3066, allocations: 0 / 437 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3066, allocations: 4 kB / 437 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.3067, allocations: 19.92 kB / 437 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.3071, allocations: 191.8 kB / 437.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.3076, allocations: 374.2 kB / 437.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.308, allocations: 224.1 kB / 437.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.3083, allocations: 142.6 kB / 437.9 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.3083, allocations: 4.156 kB / 437.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3084, allocations: 46.53 kB / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/0.3084, allocations: 0 / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008983/0.3093, allocations: 429.7 kB / 438.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.3094, allocations: 135.1 kB / 438.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.3096, allocations: 170.4 kB / 438.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3096, allocations: 29.7 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.3097, allocations: 105.1 kB / 438.8 MB, free: 360 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.3098, allocations: 47.67 kB / 438.9 MB, free: 312 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.3098, allocations: 70.14 kB / 438.9 MB, free: 236 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.31, allocations: 342.9 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3102, allocations: 68.83 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.3105, allocations: 326.7 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/0.311, allocations: 420.8 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.311, allocations: 4 kB / 440.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000622/0.3116, allocations: 405.8 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3117, allocations: 12 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3117, allocations: 8 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.3117, allocations: 12 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3119, allocations: 79.84 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.312, allocations: 23.91 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.3121, allocations: 31.84 kB / 440.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.3121, allocations: 24 kB / 440.7 MB, free: 14.26 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.0001991/0.3123, allocations: 186.4 kB / 440.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/0.3129, allocations: 298.4 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.3129, allocations: 34.64 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.313, allocations: 4 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.313, allocations: 0 / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.313, allocations: 3.984 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3133, allocations: 253.3 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3133, allocations: 4 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3135, allocations: 63.83 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3135, allocations: 4 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3136, allocations: 16 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3136, allocations: 4 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3136, allocations: 4 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.3142, allocations: 435.8 kB / 441.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.3144, allocations: 136.8 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.3144, allocations: 23.98 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3146, allocations: 8 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3146, allocations: 7.969 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.3146, allocations: 12 kB / 442.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3147, allocations: 132.3 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3147, allocations: 0 / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.3151, allocations: 52 kB / 442.3 MB, free: 12.51 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.0001515/0.3153, allocations: 115.2 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.3158, allocations: 278.1 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3158, allocations: 0 / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.3159, allocations: 16.06 kB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/0.3165, allocations: 211.9 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3179, allocations: 0.5823 MB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3183, allocations: 0.7838 MB / 444.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.3184, allocations: 31.42 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3184, allocations: 0 / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.005773/0.3242, allocations: 3.005 MB / 447.3 MB, free: 7.449 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.243674769997597]