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.SampleVectorizedAndClocked.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.001238/0.001238, allocations: 106.5 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.00155/0.00155, allocations: 213.2 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.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.00186/0.00186, allocations: 64.78 kB / 378.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2528, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00284/0.2556, allocations: 1.548 MB / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004408/0.2561, allocations: 139.5 kB / 433.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.2561, allocations: 3.938 kB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.2562, allocations: 15.92 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.937e-05/0.2563, allocations: 3.938 kB / 433.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.2566, allocations: 39.89 kB / 433.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.2567, allocations: 43.8 kB / 433.7 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2568, allocations: 19.95 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.2568, allocations: 15.94 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.2569, allocations: 15.92 kB / 433.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2569, allocations: 4 kB / 433.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.2569, allocations: 4 kB / 433.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.2569, allocations: 15.92 kB / 433.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.257, allocations: 27.81 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2571, allocations: 55.53 kB / 433.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2571, allocations: 0 / 433.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2571, allocations: 0 / 433.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.2571, allocations: 0 / 433.9 MB, free: 4.957 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004873/0.2576, allocations: 303 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2576, allocations: 8.031 kB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.2577, allocations: 34.75 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.2577, allocations: 8.891 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.2579, allocations: 146.3 kB / 434.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.258, allocations: 4.375 kB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.258, allocations: 384 / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.2583, allocations: 122.5 kB / 434.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2583, allocations: 3.938 kB / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.2583, allocations: 0 / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.2583, allocations: 7.938 kB / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.2584, allocations: 31.86 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.2588, allocations: 340.9 kB / 434.8 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.259, allocations: 75.78 kB / 434.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.259, allocations: 34.62 kB / 435 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.259, allocations: 4 kB / 435 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2591, allocations: 34.5 kB / 435 MB, free: 3.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2591, allocations: 0 / 435 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002895/0.2594, allocations: 93.86 kB / 435.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.2594, allocations: 114.9 kB / 435.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2596, allocations: 136.3 kB / 435.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2596, allocations: 25.7 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.2597, allocations: 92.12 kB / 435.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.2597, allocations: 7.891 kB / 435.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.2597, allocations: 21.72 kB / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.2599, allocations: 322.8 kB / 435.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.2599, allocations: 15.94 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.26, allocations: 35.42 kB / 435.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.2601, allocations: 55.36 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2601, allocations: 3.984 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001343/0.2602, allocations: 69.58 kB / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2602, allocations: 4 kB / 436 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2602, allocations: 0 / 436 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2603, allocations: 4 kB / 436 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.2603, allocations: 3.984 kB / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2603, allocations: 128 / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.2603, allocations: 12 kB / 436 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2603, allocations: 4 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001206/0.2605, allocations: 125.7 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/0.2605, allocations: 45.66 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.2606, allocations: 19.91 kB / 436.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.2606, allocations: 4 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2606, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2606, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.2608, allocations: 148.7 kB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2608, allocations: 0 / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-06/0.2608, allocations: 7.938 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2608, allocations: 0 / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2608, allocations: 3.984 kB / 436.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-06/0.2608, allocations: 4 kB / 436.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2609, allocations: 3.938 kB / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.2611, allocations: 263.6 kB / 436.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.2611, allocations: 15.94 kB / 436.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2612, allocations: 7.938 kB / 436.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.2612, allocations: 0 / 436.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.2613, allocations: 4 kB / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2613, allocations: 0 / 436.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.15e-05/0.2614, allocations: 107.2 kB / 436.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2614, allocations: 4 kB / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.2616, allocations: 4 kB / 436.7 MB, free: 1.715 MB / 334.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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006723/0.2623, allocations: 0.7984 MB / 437.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.2625, allocations: 39.92 kB / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2625, allocations: 0 / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.2625, allocations: 11.98 kB / 437.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.2629, allocations: 31.95 kB / 437.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2645, allocations: 1.455 MB / 439.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.2649, allocations: 0.6924 MB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.182e-05/0.265, allocations: 4 kB / 439.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.265, allocations: 15.42 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.265, allocations: 3.938 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.2943, allocations: 1.718 MB / 441.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.981, allocations: 3.938 kB / 441.5 MB, free: 12.91 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_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_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.269728558138013] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.048430086113513 8.06444916 7.804272557 Calling exit ...