Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001726/0.001726, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001871/0.001871, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.685/1.685, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 59.89 kB / 378.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2999, allocations: 53.36 MB / 432.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003157/0.3031, allocations: 1.788 MB / 433.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3044, allocations: 0.6933 MB / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3045, allocations: 15.81 kB / 434.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3046, allocations: 19.8 kB / 434.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.3048, allocations: 39.72 kB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3053, allocations: 139.6 kB / 434.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.3056, allocations: 159.6 kB / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3057, allocations: 21.75 kB / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3059, allocations: 83.67 kB / 435.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3061, allocations: 115.6 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.3061, allocations: 16 kB / 435.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.3062, allocations: 16 kB / 435.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.3063, allocations: 59.83 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3064, allocations: 95.39 kB / 435.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3067, allocations: 220.7 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3067, allocations: 0 / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3067, allocations: 0 / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3067, allocations: 8 kB / 435.6 MB, free: 3.582 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.0008438/0.3075, allocations: 437.3 kB / 436.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3076, allocations: 12.03 kB / 436.1 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3077, allocations: 40.73 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.3081, allocations: 194 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.3081, allocations: 16.38 kB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3081, allocations: 16.38 kB / 436.3 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.3093, allocations: 0.6342 MB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.3093, allocations: 7.938 kB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3093, allocations: 4 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.3094, allocations: 8 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.3098, allocations: 188.6 kB / 437.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.3103, allocations: 345.3 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.3107, allocations: 219.6 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.311, allocations: 142.6 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3111, allocations: 16.14 kB / 437.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3111, allocations: 34.56 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.3111, allocations: 0 / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009402/0.312, allocations: 433.7 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3122, allocations: 134.8 kB / 438.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3123, allocations: 179 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.3124, allocations: 33.7 kB / 438.7 MB, free: 332 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.3124, allocations: 101.1 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.3125, allocations: 55.66 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3126, allocations: 66.14 kB / 438.9 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3128, allocations: 338.8 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3129, allocations: 68.83 kB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.3133, allocations: 330.7 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.3138, allocations: 420.8 kB / 440 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3138, allocations: 4 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006357/0.3144, allocations: 404.9 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3144, allocations: 8 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3144, allocations: 12.88 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.3145, allocations: 12 kB / 440.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3147, allocations: 83.84 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.3147, allocations: 24.23 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.3149, allocations: 31.84 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.3149, allocations: 28 kB / 440.6 MB, free: 14.12 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.0001925/0.3151, allocations: 181.4 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/0.3157, allocations: 298.4 kB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.683e-05/0.3158, allocations: 42.64 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3158, allocations: 8 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3158, allocations: 0 / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3158, allocations: 0 / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.3161, allocations: 220.4 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3161, allocations: 4 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.3164, allocations: 59.91 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3164, allocations: 4 kB / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3164, allocations: 11.98 kB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3164, allocations: 0 / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3164, allocations: 4 kB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.3171, allocations: 447.6 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.3172, allocations: 55.75 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.3173, allocations: 16 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3174, allocations: 11.98 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3175, allocations: 8 kB / 442 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.3175, allocations: 11.98 kB / 442 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3176, allocations: 131.2 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3176, allocations: 0 / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.318, allocations: 44 kB / 442.1 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.0001608/0.3182, allocations: 120.1 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.3187, allocations: 288 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3187, allocations: 1.812 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.234e-05/0.3188, allocations: 7.938 kB / 442.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.3195, allocations: 215.9 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3209, allocations: 0.5381 MB / 443.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.3214, allocations: 0.7876 MB / 444.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.3214, allocations: 26.28 kB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.3215, allocations: 23.44 kB / 444.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3215, allocations: 0 / 444.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Templates: time 0.007218/0.3287, allocations: 2.967 MB / 447.1 MB, free: 7.492 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.115170836448669]