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.Hold.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.001272/0.001272, allocations: 110.5 kB / 21.22 MB, free: 0.5156 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.001449/0.001449, allocations: 209.3 kB / 24.54 MB, free: 3.906 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",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.001963/0.001963, allocations: 68.7 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2569, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003556/0.2604, allocations: 1.956 MB / 433.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2628, allocations: 1.329 MB / 435.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2629, allocations: 3.938 kB / 435.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2632, allocations: 71.66 kB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.2636, allocations: 139.4 kB / 435.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.2643, allocations: 226.6 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.2645, allocations: 191.4 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.2647, allocations: 25.73 kB / 435.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.2648, allocations: 91.56 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.265, allocations: 79.67 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.265, allocations: 12 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.2652, allocations: 75.94 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2653, allocations: 59.7 kB / 436.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.2655, allocations: 83.41 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.2659, allocations: 243.8 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2659, allocations: 4 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.2659, allocations: 3.984 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2659, allocations: 0 / 436.5 MB, free: 2.316 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008026/0.2667, allocations: 490.4 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2668, allocations: 8.031 kB / 437 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.2668, allocations: 42.73 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.2669, allocations: 28.75 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.2673, allocations: 229.5 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2673, allocations: 4.375 kB / 437.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.2673, allocations: 19.88 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2677, allocations: 167.4 kB / 437.4 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2677, allocations: 7.984 kB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2677, allocations: 7.984 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2677, allocations: 0 / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.2679, allocations: 39.92 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.2685, allocations: 441.6 kB / 437.9 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.2688, allocations: 142.5 kB / 438.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2689, allocations: 63.41 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2689, allocations: 8 kB / 438.1 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2691, allocations: 101 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.2691, allocations: 0 / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004315/0.2695, allocations: 173.4 kB / 438.4 MB, free: 164 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.2697, allocations: 187.9 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.2701, allocations: 348.1 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2701, allocations: 25.7 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2702, allocations: 132.4 kB / 439.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.2702, allocations: 15.89 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.2703, allocations: 42.08 kB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2704, allocations: 326.8 kB / 439.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.2705, allocations: 27.92 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2707, allocations: 103.7 kB / 439.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.2708, allocations: 93.08 kB / 439.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2708, allocations: 3.938 kB / 439.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002582/0.2711, allocations: 141.5 kB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2711, allocations: 8 kB / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2711, allocations: 0 / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2711, allocations: 0 / 439.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2712, allocations: 31.92 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2713, allocations: 0 / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.871e-05/0.2713, allocations: 15.83 kB / 439.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2714, allocations: 11.98 kB / 439.9 MB, free: 14.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001539/0.2715, allocations: 157.9 kB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2716, allocations: 77.48 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.2719, allocations: 115.3 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2719, allocations: 4 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2719, allocations: 384 / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2719, allocations: 7.922 kB / 440.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.2721, allocations: 220.6 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2721, allocations: 4 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.2722, allocations: 15.98 kB / 440.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2722, allocations: 8.062 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2722, allocations: 0 / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.2722, allocations: 7.984 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2722, allocations: 0 / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.2725, allocations: 187.4 kB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2726, allocations: 43.78 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2727, allocations: 4 kB / 440.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.2727, allocations: 7.984 kB / 440.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2728, allocations: 15.92 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.2728, allocations: 4 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000254/0.2731, allocations: 251 kB / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2731, allocations: 0 / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.2733, allocations: 35.94 kB / 441 MB, free: 13.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.002001/0.2753, allocations: 1.033 MB / 442.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.2756, allocations: 83.84 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2756, allocations: 4 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.2757, allocations: 31.97 kB / 442.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.2761, allocations: 76.83 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.2789, allocations: 2.288 MB / 444.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.2793, allocations: 0.7476 MB / 445.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2794, allocations: 29.56 kB / 445.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2795, allocations: 63.41 kB / 445.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2795, allocations: 0 / 445.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.31, allocations: 5.601 MB / 451 MB, free: 3.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.211, allocations: 11.81 kB / 451 MB, free: 3.363 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.702058041002601] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.354389434214681 8.384516543 8.112927408000001 Calling exit ...