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.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.00173/0.00173, 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.002012/0.002012, 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.413/1.413, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.002157/0.002157, allocations: 68.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2515, allocations: 53.36 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002843/0.2543, allocations: 1.565 MB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.2547, allocations: 143.5 kB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.2548, allocations: 3.938 kB / 433.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2549, allocations: 7.938 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.255, allocations: 15.92 kB / 433.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.2552, allocations: 31.91 kB / 433.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.2553, allocations: 47.78 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2555, allocations: 14.11 kB / 433.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.2555, allocations: 15.92 kB / 433.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.378e-05/0.2555, allocations: 27.84 kB / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2556, allocations: 0 / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.2556, allocations: 4 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.2556, allocations: 15.94 kB / 433.8 MB, free: 5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.2557, allocations: 31.8 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.2558, allocations: 51.69 kB / 433.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2558, allocations: 4 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2558, allocations: 0 / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2558, allocations: 7.938 kB / 433.9 MB, free: 4.906 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.0004985/0.2563, allocations: 313.9 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2563, allocations: 8.031 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.2564, allocations: 34.75 kB / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2564, allocations: 8.891 kB / 434.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2567, allocations: 142.4 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.2567, allocations: 384 / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2567, allocations: 4.375 kB / 434.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.257, allocations: 126.4 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.257, allocations: 3.938 kB / 434.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.257, allocations: 8 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.2571, allocations: 3.984 kB / 434.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.2572, allocations: 43.84 kB / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.2576, allocations: 333 kB / 434.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2578, allocations: 79.78 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.2579, allocations: 38.56 kB / 435 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.2579, allocations: 0 / 435 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2579, allocations: 50.55 kB / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2579, allocations: 0 / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003313/0.2582, allocations: 101.5 kB / 435.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.2583, allocations: 107.1 kB / 435.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2585, allocations: 156.3 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.2585, allocations: 25.7 kB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.2585, allocations: 88.12 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.2586, allocations: 7.953 kB / 435.5 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.2586, allocations: 17.72 kB / 435.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2587, allocations: 318.8 kB / 435.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.2588, allocations: 15.97 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.2589, allocations: 43.42 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.259, allocations: 63.28 kB / 436 MB, free: 2.539 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.259, allocations: 4 kB / 436 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001684/0.2592, allocations: 77.56 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2592, allocations: 7.984 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2592, allocations: 4 kB / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2592, allocations: 96 / 436.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.2593, allocations: 11.94 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2593, allocations: 0 / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.2594, allocations: 20.09 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2594, allocations: 7.938 kB / 436.1 MB, free: 2.402 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[2],sample1.u[1],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.0001451/0.2595, allocations: 121.8 kB / 436.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.2596, allocations: 49.64 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.2597, allocations: 15.91 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.2597, allocations: 4 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2597, allocations: 0 / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2597, allocations: 7.938 kB / 436.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.2599, allocations: 152.7 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2599, allocations: 0 / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.26, allocations: 19.92 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.26, allocations: 0 / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.26, allocations: 0 / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.26, allocations: 0 / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.26, allocations: 4 kB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.2603, allocations: 263.5 kB / 436.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.2603, allocations: 15.94 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2603, allocations: 4 kB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.7e-05/0.2604, allocations: 4 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.2604, allocations: 7.922 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2604, allocations: 0 / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.2605, allocations: 111.3 kB / 436.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2605, allocations: 4 kB / 436.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.2608, allocations: 11.92 kB / 436.9 MB, free: 1.539 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[2],sample1.u[1],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.0006146/0.2614, allocations: 0.7946 MB / 437.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.2616, allocations: 43.91 kB / 437.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2616, allocations: 0 / 437.7 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.2617, allocations: 23.92 kB / 437.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.2621, allocations: 24.39 kB / 437.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.2637, allocations: 1.489 MB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.2641, allocations: 0.6963 MB / 440 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.2641, allocations: 4 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.2642, allocations: 23.42 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2642, allocations: 0 / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.2897, allocations: 1.728 MB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.179, allocations: 8 kB / 441.7 MB, free: 12.67 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.621291034854949] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.250357569660991 8.265435268 8.006355351 Calling exit ...