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.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.001626/0.001626, 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.001988/0.001988, allocations: 211.9 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001878/0.001878, allocations: 64.75 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2625, allocations: 53.38 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003238/0.2657, allocations: 1.917 MB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.2679, allocations: 1.326 MB / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.268, allocations: 7.938 kB / 435.2 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.2683, allocations: 63.67 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.2686, allocations: 135.4 kB / 435.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.2692, allocations: 234.3 kB / 435.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.2695, allocations: 183.5 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2696, allocations: 21.72 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.2697, allocations: 83.64 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.2698, allocations: 83.59 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.2699, allocations: 16 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.27, allocations: 71.95 kB / 436 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.2701, allocations: 55.77 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.2702, allocations: 75.48 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.2705, allocations: 239.8 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2706, allocations: 4 kB / 436.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2706, allocations: 4 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2706, allocations: 0 / 436.4 MB, free: 2.398 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.0006969/0.2713, allocations: 478.4 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2713, allocations: 8.031 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.2713, allocations: 42.75 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.2714, allocations: 24.8 kB / 437 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2718, allocations: 229.5 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2718, allocations: 4.375 kB / 437.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2718, allocations: 15.88 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.2721, allocations: 166.5 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2722, allocations: 0 / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.2722, allocations: 3.984 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2722, allocations: 4 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2723, allocations: 31.98 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.2728, allocations: 365.3 kB / 437.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.2731, allocations: 111.9 kB / 437.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.2732, allocations: 50.56 kB / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.2732, allocations: 0 / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.2734, allocations: 87.31 kB / 438 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2734, allocations: 0 / 438 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003789/0.2737, allocations: 153.5 kB / 438.1 MB, free: 472 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2738, allocations: 158.2 kB / 438.3 MB, free: 276 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.2742, allocations: 341.8 kB / 438.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2742, allocations: 29.7 kB / 438.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2743, allocations: 128.1 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.2744, allocations: 19.89 kB / 438.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.2744, allocations: 33.97 kB / 438.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2746, allocations: 338.8 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.2746, allocations: 23.98 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.2748, allocations: 90.78 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.2749, allocations: 84.22 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2749, allocations: 0 / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002463/0.2752, allocations: 125.4 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2752, allocations: 7.938 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2752, allocations: 4.125 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2752, allocations: 4 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2753, allocations: 15.98 kB / 439.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2753, allocations: 4 kB / 439.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.2754, allocations: 15.88 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2754, allocations: 11.92 kB / 439.6 MB, free: 14.94 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.0001423/0.2755, allocations: 149.8 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.2756, allocations: 77.47 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.2759, allocations: 119.7 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2759, allocations: 4 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2759, allocations: 0 / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2759, allocations: 3.938 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2761, allocations: 212.7 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2761, allocations: 4 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.955e-05/0.2762, allocations: 8 kB / 440.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2762, allocations: 3.984 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2762, allocations: 11.94 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2762, allocations: 4.031 kB / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2762, allocations: 0 / 440.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.2765, allocations: 166.5 kB / 440.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.2766, allocations: 31.84 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.2766, allocations: 8 kB / 440.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.2767, allocations: 11.98 kB / 440.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2767, allocations: 11.92 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2767, allocations: 4 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000243/0.277, allocations: 245.2 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.277, allocations: 0 / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2772, allocations: 39.92 kB / 440.6 MB, free: 13.76 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.001909/0.2791, allocations: 1.014 MB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.2794, allocations: 75.84 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2794, allocations: 0 / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.2794, allocations: 24.23 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.2798, allocations: 72.08 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2824, allocations: 2.23 MB / 444.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.2827, allocations: 0.7476 MB / 444.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.722e-05/0.2828, allocations: 21.48 kB / 444.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2829, allocations: 63.41 kB / 444.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2829, allocations: 0 / 444.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.3133, allocations: 5.411 MB / 450.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.168, allocations: 10.64 kB / 450.3 MB, free: 4.121 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.596118079964072] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.306145397014916 8.326901601 8.052269802 Calling exit ...