Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001549/0.001549, allocations: 110.5 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.001712/0.001712, allocations: 213.2 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.IntegerSignals.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample",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.001926/0.001926, allocations: 68.77 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2724, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003569/0.276, allocations: 2.002 MB / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2783, allocations: 1.375 MB / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.2784, allocations: 7.938 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.2788, allocations: 67.59 kB / 435.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.2792, allocations: 147.4 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.2799, allocations: 273.4 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.2803, allocations: 231.4 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2804, allocations: 32.58 kB / 436 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2805, allocations: 95.56 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.2807, allocations: 107.6 kB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.2807, allocations: 12 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2809, allocations: 91.88 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.281, allocations: 63.75 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.2811, allocations: 103.3 kB / 436.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.2815, allocations: 299.6 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2815, allocations: 3.938 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2815, allocations: 0 / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2815, allocations: 0 / 436.8 MB, free: 1.992 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009185/0.2824, allocations: 0.5256 MB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2825, allocations: 8.031 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.2825, allocations: 46.73 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.2826, allocations: 36.75 kB / 437.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.283, allocations: 254.4 kB / 437.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.283, allocations: 12.38 kB / 437.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.283, allocations: 15.94 kB / 437.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.2836, allocations: 319.3 kB / 438 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2836, allocations: 0 / 438 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2836, allocations: 8 kB / 438 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2836, allocations: 0 / 438 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2838, allocations: 71.94 kB / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.2844, allocations: 389.3 kB / 438.5 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.2848, allocations: 187.8 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.2849, allocations: 86.67 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.2849, allocations: 16.2 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.2851, allocations: 79.39 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.2851, allocations: 0 / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005568/0.2857, allocations: 253.3 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.2858, allocations: 166.2 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.2862, allocations: 372 kB / 439.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.2862, allocations: 29.7 kB / 439.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2863, allocations: 132.6 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2864, allocations: 31.83 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.2864, allocations: 58.27 kB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2866, allocations: 342.8 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.717e-05/0.2867, allocations: 40.44 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2869, allocations: 186.9 kB / 440.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.2872, allocations: 215.1 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2872, allocations: 4 kB / 440.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003911/0.2876, allocations: 237.5 kB / 440.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2876, allocations: 8 kB / 440.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2876, allocations: 4 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.2876, allocations: 4 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.2878, allocations: 43.86 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2878, allocations: 11.94 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.2879, allocations: 19.88 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.2879, allocations: 12 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,sum.y,sum.u[2],sum.u[1],upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001949/0.2881, allocations: 175.9 kB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.2883, allocations: 141.7 kB / 441.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.2886, allocations: 127.4 kB / 441.4 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2886, allocations: 7.938 kB / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2886, allocations: 0 / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2886, allocations: 3.984 kB / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.2889, allocations: 240.5 kB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2889, allocations: 0 / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.289, allocations: 31.98 kB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.289, allocations: 0 / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.289, allocations: 8 kB / 441.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.289, allocations: 3.938 kB / 441.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.289, allocations: 3.938 kB / 441.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.2894, allocations: 248.2 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.2896, allocations: 55.77 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.2896, allocations: 15.97 kB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.2897, allocations: 8 kB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.2897, allocations: 11.92 kB / 442 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.2898, allocations: 12 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.29, allocations: 255 kB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.29, allocations: 0 / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003152/0.2903, allocations: 43.94 kB / 442.3 MB, free: 12 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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002257/0.2926, allocations: 1.194 MB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003538/0.293, allocations: 151.8 kB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.293, allocations: 0 / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.293, allocations: 27.98 kB / 443.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.2936, allocations: 128.5 kB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.2968, allocations: 2.735 MB / 446.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.2972, allocations: 0.7675 MB / 447.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.2974, allocations: 38.53 kB / 447.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.2975, allocations: 79.41 kB / 447.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2975, allocations: 0 / 447.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.33, allocations: 6.662 MB / 454.1 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.347, allocations: 8.062 kB / 454.1 MB, free: 176 kB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.78784e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_UpSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.807955106720328] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'sum.y'] 8.486302524805069 8.503194222 8.218241588 Calling exit ...