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.001392/0.001392, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001606/0.001606, allocations: 203 kB / 24.46 MB, free: 4.023 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.592/1.592, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.002121/0.002121, allocations: 71.83 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.336, allocations: 53.31 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003646/0.3397, allocations: 1.788 MB / 433.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.3414, allocations: 0.6855 MB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3416, allocations: 11.88 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.3418, allocations: 19.8 kB / 434.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.3421, allocations: 47.7 kB / 434.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.3426, allocations: 139.6 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3429, allocations: 151.7 kB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.343, allocations: 25.53 kB / 434.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3432, allocations: 75.7 kB / 435 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.3435, allocations: 111.6 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.3436, allocations: 12 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.3436, allocations: 20 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3437, allocations: 75.75 kB / 435.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3438, allocations: 87.45 kB / 435.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.3443, allocations: 217 kB / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3443, allocations: 0 / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3443, allocations: 0 / 435.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3443, allocations: 0 / 435.5 MB, free: 3.914 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.001079/0.3454, allocations: 0.5101 MB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3454, allocations: 12.03 kB / 436 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.3456, allocations: 44.73 kB / 436.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.346, allocations: 248 kB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.346, allocations: 16.38 kB / 436.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.346, allocations: 20.36 kB / 436.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.3472, allocations: 0.6303 MB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3472, allocations: 3.938 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.3473, allocations: 8 kB / 437 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.3473, allocations: 11.98 kB / 437 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.3477, allocations: 187.8 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.3483, allocations: 374.2 kB / 437.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.3488, allocations: 232 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.349, allocations: 146.6 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.3491, allocations: 8.141 kB / 437.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3491, allocations: 34.56 kB / 438 MB, free: 1.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.3491, allocations: 0 / 438 MB, free: 1.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009709/0.3501, allocations: 433.7 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.3503, allocations: 134.8 kB / 438.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.3505, allocations: 170.3 kB / 438.7 MB, free: 492 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.3505, allocations: 33.7 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.3506, allocations: 101.1 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.652e-05/0.3506, allocations: 47.67 kB / 438.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3508, allocations: 78.25 kB / 438.9 MB, free: 216 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.351, allocations: 334.8 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3511, allocations: 72.81 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.3515, allocations: 322.7 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.3521, allocations: 420.8 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.3521, allocations: 4 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006082/0.3527, allocations: 405.7 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3527, allocations: 8 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3527, allocations: 8 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.3527, allocations: 12 kB / 440.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.353, allocations: 87.83 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.353, allocations: 15.94 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3532, allocations: 31.84 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.3532, allocations: 20 kB / 440.6 MB, free: 14.25 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.0002244/0.3534, allocations: 190.5 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/0.3539, allocations: 302.3 kB / 441.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.354, allocations: 30.66 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.354, allocations: 8 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.354, allocations: 0 / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.354, allocations: 7.922 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.3543, allocations: 257.2 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3543, allocations: 0 / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.3546, allocations: 63.91 kB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3546, allocations: 8 kB / 441.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3546, allocations: 7.984 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3546, allocations: 4 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3546, allocations: 0 / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/0.3553, allocations: 439.8 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.3554, allocations: 128.9 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.3555, allocations: 23.98 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3556, allocations: 15.98 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.3557, allocations: 0 / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3557, allocations: 12 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3558, allocations: 132.3 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3558, allocations: 0 / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003845/0.3562, allocations: 48 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.0001551/0.3563, allocations: 120.4 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.3569, allocations: 281.5 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.3569, allocations: 8.188 kB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.3569, allocations: 11.98 kB / 442.7 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.00071/0.3577, allocations: 215.9 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.359, allocations: 0.5417 MB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.3594, allocations: 0.7838 MB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.891e-05/0.3595, allocations: 26.28 kB / 444.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.3595, allocations: 27.44 kB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3595, allocations: 0 / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.00692/0.3665, allocations: 2.858 MB / 447.1 MB, free: 7.59 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 -s cvode -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: 5.173455601092428]