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.SampleClocked.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.001287/0.001287, 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.001362/0.001362, 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.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",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.002177/0.002177, allocations: 68.75 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2767, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002961/0.2797, allocations: 1.522 MB / 433.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000409/0.2801, allocations: 139.5 kB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.2802, allocations: 0 / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.2802, allocations: 3.938 kB / 433.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2804, allocations: 11.92 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.2806, allocations: 35.84 kB / 433.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.2807, allocations: 23.98 kB / 433.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.591e-05/0.2808, allocations: 11.98 kB / 433.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.28e-05/0.2808, allocations: 11.88 kB / 433.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.2809, allocations: 19.86 kB / 433.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2809, allocations: 4 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2809, allocations: 4 kB / 433.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.281, allocations: 8 kB / 433.7 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.281, allocations: 23.8 kB / 433.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2811, allocations: 40.61 kB / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2811, allocations: 4 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2811, allocations: 0 / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2811, allocations: 0 / 433.8 MB, free: 5.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004611/0.2816, allocations: 282.1 kB / 434.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2816, allocations: 12.03 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.2817, allocations: 38.73 kB / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2817, allocations: 8.891 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.282, allocations: 130.4 kB / 434.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.282, allocations: 4.375 kB / 434.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.282, allocations: 384 / 434.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.2822, allocations: 101.6 kB / 434.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2822, allocations: 7.875 kB / 434.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2822, allocations: 4 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2822, allocations: 0 / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.2823, allocations: 11.98 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.2826, allocations: 228.9 kB / 434.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.2827, allocations: 49.08 kB / 434.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.2828, allocations: 21.78 kB / 434.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.2828, allocations: 0 / 434.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2828, allocations: 30.56 kB / 434.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2828, allocations: 4 kB / 434.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002392/0.2831, allocations: 61.61 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.2831, allocations: 88.98 kB / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2833, allocations: 136.6 kB / 435 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2833, allocations: 29.69 kB / 435 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.2833, allocations: 88.14 kB / 435.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.709e-06/0.2833, allocations: 4.234 kB / 435.1 MB, free: 3.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.2834, allocations: 21.72 kB / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2835, allocations: 310.8 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.2836, allocations: 7.984 kB / 435.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.2836, allocations: 17.72 kB / 435.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/0.2837, allocations: 29.77 kB / 435.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2837, allocations: 3.938 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001155/0.2838, allocations: 61.58 kB / 435.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2838, allocations: 7.984 kB / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2838, allocations: 0 / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2838, allocations: 0 / 435.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.2839, allocations: 8 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2839, allocations: 0 / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.2839, allocations: 4.062 kB / 435.6 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2839, allocations: 4 kB / 435.6 MB, free: 2.992 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001015/0.284, allocations: 125.7 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.2841, allocations: 37.66 kB / 435.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.2841, allocations: 11.77 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2841, allocations: 7.922 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2841, allocations: 0 / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2841, allocations: 4 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2843, allocations: 140.6 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2843, allocations: 4.031 kB / 435.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.2843, allocations: 7.984 kB / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2843, allocations: 0 / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2843, allocations: 4 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2843, allocations: 0 / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2843, allocations: 0 / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.2845, allocations: 156.3 kB / 436 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.2846, allocations: 19.94 kB / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2846, allocations: 0 / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.418e-05/0.2846, allocations: 0 / 436.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.2847, allocations: 4 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.2847, allocations: 0 / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.855e-05/0.2847, allocations: 110.1 kB / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2847, allocations: 0 / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.2849, allocations: 0 / 436.2 MB, free: 2.297 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004985/0.2854, allocations: 0.7014 MB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.2856, allocations: 19.98 kB / 436.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2856, allocations: 4.156 kB / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.2856, allocations: 4 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2859, allocations: 19.95 kB / 436.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.2872, allocations: 1.264 MB / 438.2 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.2876, allocations: 0.6886 MB / 438.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.532e-05/0.2876, allocations: 3.984 kB / 438.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.2876, allocations: 11.44 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2876, allocations: 0 / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.3141, allocations: 1.38 MB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.055, allocations: 15.56 kB / 440.3 MB, free: 14.13 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.371869902126491] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.124934673309326 8.149193186 7.863311008 Calling exit ...