Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001214/0.001214, allocations: 105.1 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.001331/0.001331, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",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.001913/0.001913, allocations: 64.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.265, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003383/0.2684, allocations: 1.936 MB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.2704, allocations: 1.239 MB / 435.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2705, allocations: 3.938 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.2712, allocations: 159.5 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.2715, allocations: 155.4 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.272, allocations: 167.5 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.2723, allocations: 195.5 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2724, allocations: 17.73 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.2725, allocations: 87.62 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2726, allocations: 75.62 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2726, allocations: 12 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2728, allocations: 63.83 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.397e-05/0.2729, allocations: 47.83 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.2729, allocations: 67.55 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.2733, allocations: 216 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2733, allocations: 3.938 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2733, allocations: 0 / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2733, allocations: 0 / 436.3 MB, free: 2.469 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007848/0.2741, allocations: 446.7 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2741, allocations: 20.02 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.2742, allocations: 34.75 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.2742, allocations: 24.8 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.2745, allocations: 217 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.2746, allocations: 4.375 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.2746, allocations: 11.94 kB / 437.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.2749, allocations: 150.7 kB / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2749, allocations: 0 / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2749, allocations: 0 / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2749, allocations: 0 / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.275, allocations: 39.91 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.2755, allocations: 337.4 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.2758, allocations: 103.9 kB / 437.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.2759, allocations: 42.56 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2759, allocations: 4 kB / 437.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.276, allocations: 75.33 kB / 437.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.276, allocations: 0 / 437.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003659/0.2764, allocations: 145.5 kB / 438 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.2765, allocations: 136.5 kB / 438.1 MB, free: 496 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.2768, allocations: 277 kB / 438.4 MB, free: 212 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2768, allocations: 29.7 kB / 438.4 MB, free: 176 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.2769, allocations: 112.1 kB / 438.5 MB, free: 60 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.277, allocations: 15.91 kB / 438.5 MB, free: 44 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.277, allocations: 37.91 kB / 438.5 MB, free: 0 / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2772, allocations: 326.8 kB / 438.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.2772, allocations: 23.98 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.2773, allocations: 66 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.2775, allocations: 80.25 kB / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2775, allocations: 0 / 439 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002038/0.2777, allocations: 113.5 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2777, allocations: 4 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2777, allocations: 448 / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2777, allocations: 11.94 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.2778, allocations: 15.98 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2778, allocations: 15.88 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.2779, allocations: 11.88 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2779, allocations: 4 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001324/0.278, allocations: 141.8 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.2781, allocations: 69.48 kB / 439.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.2783, allocations: 107.4 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2783, allocations: 7.984 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2783, allocations: 0 / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2783, allocations: 3.938 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2785, allocations: 200.7 kB / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2785, allocations: 0 / 439.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.2785, allocations: 15.92 kB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2786, allocations: 4 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.2786, allocations: 0 / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2786, allocations: 0 / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2786, allocations: 8 kB / 439.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.2788, allocations: 150.6 kB / 439.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.2789, allocations: 39.77 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.2789, allocations: 0 / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-05/0.279, allocations: 8 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.279, allocations: 15.92 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.279, allocations: 4 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.2792, allocations: 200.5 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2792, allocations: 0 / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.2795, allocations: 28 kB / 440.2 MB, free: 14.21 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 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (9): * Single equations (assignments): 7 * 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.001932/0.2814, allocations: 1.004 MB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2816, allocations: 67.84 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2816, allocations: 0 / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.2817, allocations: 27.98 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.2821, allocations: 62.66 kB / 441.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.2843, allocations: 1.952 MB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2847, allocations: 0.7359 MB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.247e-05/0.2847, allocations: 25.47 kB / 444.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.2848, allocations: 51.42 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2848, allocations: 0 / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3137, allocations: 4.77 MB / 448.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.151, allocations: 15.16 kB / 448.9 MB, free: 5.543 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79247e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.487496220041066] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 8.29203898878768 8.310341908 8.033912867 Calling exit ...