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.001929/0.001929, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002589/0.002589, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.595/1.595, allocations: 230.6 MB / 258.3 MB, free: 8.023 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [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.001998/0.001998, allocations: 64.77 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003728/0.3428, allocations: 1.791 MB / 433.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.3442, allocations: 0.6855 MB / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.3444, allocations: 7.938 kB / 434.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.3446, allocations: 27.78 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.3448, allocations: 39.72 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.3455, allocations: 135.7 kB / 434.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.3457, allocations: 167.5 kB / 434.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3459, allocations: 21.75 kB / 434.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3461, allocations: 83.73 kB / 434.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.3463, allocations: 111.6 kB / 435 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.3464, allocations: 16 kB / 435 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.3464, allocations: 16 kB / 435 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3465, allocations: 63.81 kB / 435.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3467, allocations: 91.39 kB / 435.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.347, allocations: 223.8 kB / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.347, allocations: 0 / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.347, allocations: 0 / 435.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.347, allocations: 0 / 435.4 MB, free: 3.406 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.00102/0.3481, allocations: 449.2 kB / 435.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3481, allocations: 8.031 kB / 435.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.3482, allocations: 58.67 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.3484, allocations: 36.73 kB / 435.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.3488, allocations: 190.1 kB / 436.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.3488, allocations: 20.38 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.3489, allocations: 16.38 kB / 436.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3501, allocations: 0.634 MB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3501, allocations: 4 kB / 436.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3502, allocations: 4 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.3502, allocations: 12 kB / 436.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.3506, allocations: 191.8 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3511, allocations: 337.4 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.3516, allocations: 223.7 kB / 437.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3519, allocations: 154.5 kB / 437.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.352, allocations: 12.08 kB / 437.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.352, allocations: 46.55 kB / 437.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.873e-06/0.352, allocations: 7.875 kB / 437.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009321/0.353, allocations: 414 kB / 438.2 MB, free: 460 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.3531, allocations: 138.7 kB / 438.3 MB, free: 296 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.3533, allocations: 171 kB / 438.5 MB, free: 116 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3533, allocations: 33.7 kB / 438.5 MB, free: 76 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.3534, allocations: 105.2 kB / 438.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.3535, allocations: 51.67 kB / 438.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3536, allocations: 70.14 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3538, allocations: 338.8 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.354, allocations: 72.83 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.3543, allocations: 322.7 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.3549, allocations: 412.9 kB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.3549, allocations: 4 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006495/0.3555, allocations: 409.2 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3555, allocations: 12 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3555, allocations: 8.078 kB / 440.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.3556, allocations: 12 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.3559, allocations: 79.78 kB / 440.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.907e-05/0.3559, allocations: 20.53 kB / 440.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.3561, allocations: 35.84 kB / 440.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.3561, allocations: 31.94 kB / 440.4 MB, free: 13.87 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.0002433/0.3563, allocations: 178.3 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.3569, allocations: 294.4 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.357, allocations: 42.64 kB / 440.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.357, allocations: 4 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.357, allocations: 0 / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.3571, allocations: 3.984 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.3574, allocations: 224.3 kB / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3574, allocations: 4 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.3576, allocations: 63.89 kB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3576, allocations: 7.938 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.3577, allocations: 8 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3577, allocations: 0 / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.3577, allocations: 4 kB / 441.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.3584, allocations: 439.8 kB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3585, allocations: 59.75 kB / 441.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.3586, allocations: 12 kB / 441.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3587, allocations: 15.98 kB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.3588, allocations: 4 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3588, allocations: 11.98 kB / 441.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3589, allocations: 131.2 kB / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3589, allocations: 0 / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.3593, allocations: 55.94 kB / 442 MB, free: 12.26 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.001547/0.3609, allocations: 1.187 MB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.3615, allocations: 278.5 kB / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3615, allocations: 128 / 443.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.3616, allocations: 11.94 kB / 443.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.3624, allocations: 207.8 kB / 443.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.3669, allocations: 2.961 MB / 446.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.3674, allocations: 0.776 MB / 447.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.358e-05/0.3675, allocations: 26.28 kB / 447.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3676, allocations: 71.41 kB / 447.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3676, allocations: 4 kB / 447.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.4013, allocations: 5.489 MB / 453 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.008, allocations: 7.5 kB / 453 MB, free: 0.9883 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.563557591289282] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 9.082631594035774 9.097618781 8.747435253 Calling exit ...