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.SuperSample.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.001268/0.001268, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001444/0.001444, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.392/1.392, 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.001903/0.001903, allocations: 64.78 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.255, allocations: 53.38 MB / 431.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003409/0.2584, allocations: 1.929 MB / 433.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.2606, allocations: 1.247 MB / 435.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2607, allocations: 11.94 kB / 435.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.2613, allocations: 151.5 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.2617, allocations: 155.4 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2623, allocations: 177.9 kB / 435.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2625, allocations: 191.4 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2627, allocations: 29.67 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2628, allocations: 75.7 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.2629, allocations: 87.55 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.2629, allocations: 8 kB / 436 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.2631, allocations: 67.94 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.604e-05/0.2632, allocations: 39.84 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.2632, allocations: 67.55 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.2636, allocations: 211.9 kB / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2636, allocations: 0 / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2636, allocations: 0 / 436.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2636, allocations: 4 kB / 436.3 MB, free: 2.617 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.0007455/0.2643, allocations: 454.7 kB / 436.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2644, allocations: 8.031 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.2644, allocations: 42.73 kB / 436.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.2645, allocations: 24.8 kB / 436.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2648, allocations: 213.1 kB / 437.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2648, allocations: 8.359 kB / 437.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2648, allocations: 19.88 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.2651, allocations: 138.7 kB / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2651, allocations: 0 / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2652, allocations: 0 / 437.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2652, allocations: 8 kB / 437.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.2653, allocations: 39.91 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.2657, allocations: 337.4 kB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.266, allocations: 103.9 kB / 437.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.266, allocations: 46.56 kB / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.2661, allocations: 0 / 437.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.2662, allocations: 75.45 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.2662, allocations: 0 / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003619/0.2666, allocations: 149.4 kB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.2667, allocations: 128.5 kB / 438.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.267, allocations: 277 kB / 438.4 MB, free: 360 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.267, allocations: 29.95 kB / 438.4 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.2671, allocations: 120.1 kB / 438.5 MB, free: 200 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2671, allocations: 11.91 kB / 438.5 MB, free: 188 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.2672, allocations: 37.66 kB / 438.6 MB, free: 144 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2673, allocations: 326.8 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.2674, allocations: 23.98 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.2675, allocations: 73.88 kB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2676, allocations: 76.22 kB / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2676, allocations: 0 / 439.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002117/0.2678, allocations: 121.9 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2679, allocations: 7.938 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2679, allocations: 4 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2679, allocations: 0 / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.879e-05/0.268, allocations: 15.94 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.268, allocations: 7.922 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.268, allocations: 11.88 kB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.268, allocations: 4 kB / 439.2 MB, free: 15.43 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,table.y,superSample1.y,superSample1.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.0001356/0.2682, allocations: 150 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.2683, allocations: 69.48 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.2685, allocations: 103.3 kB / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2685, allocations: 0 / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2685, allocations: 0 / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2685, allocations: 11.92 kB / 439.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2687, allocations: 196.6 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2687, allocations: 4 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.2687, allocations: 4 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2687, allocations: 4.062 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2687, allocations: 3.984 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2687, allocations: 4 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2687, allocations: 0 / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.269, allocations: 154.6 kB / 439.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.2691, allocations: 35.78 kB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.2691, allocations: 11.98 kB / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.2691, allocations: 0 / 440 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2692, allocations: 11.92 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.2692, allocations: 8.062 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.2694, allocations: 200.5 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 0 / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.2696, allocations: 28 kB / 440.2 MB, free: 14.36 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.001895/0.2715, allocations: 1.003 MB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.2717, allocations: 68.09 kB / 441.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2717, allocations: 4.062 kB / 441.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.2718, allocations: 23.92 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.2722, allocations: 67.78 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.2744, allocations: 1.952 MB / 443.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2748, allocations: 0.7359 MB / 444.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.2749, allocations: 25.45 kB / 444.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.2749, allocations: 47.42 kB / 444.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2749, allocations: 0 / 444.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.3049, allocations: 4.725 MB / 448.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.104, allocations: 2.812 kB / 448.9 MB, free: 5.738 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.570740347262472] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.241609353106469 8.262196404 7.994632197 Calling exit ...