Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001297/0.001297, 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.001662/0.001662, allocations: 213.9 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.001844/0.001844, allocations: 64.75 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2427, allocations: 53.36 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002845/0.2456, allocations: 1.64 MB / 433.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.2465, allocations: 0.5686 MB / 434.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.2466, allocations: 7.938 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.662e-05/0.2467, allocations: 11.86 kB / 434.2 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2468, allocations: 15.88 kB / 434.2 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.2471, allocations: 66.53 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.2473, allocations: 67.78 kB / 434.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2474, allocations: 11.98 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.2475, allocations: 43.84 kB / 434.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.2476, allocations: 27.8 kB / 434.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2476, allocations: 4 kB / 434.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-05/0.2476, allocations: 4 kB / 434.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.2477, allocations: 23.92 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.2477, allocations: 35.73 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2479, allocations: 76.39 kB / 434.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2479, allocations: 0 / 434.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2479, allocations: 4 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.2479, allocations: 0 / 434.5 MB, free: 4.32 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.0005237/0.2484, allocations: 329.9 kB / 434.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2484, allocations: 8.031 kB / 434.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.2485, allocations: 30.75 kB / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.2487, allocations: 24.88 kB / 434.9 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.2489, allocations: 154.2 kB / 435.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2489, allocations: 4.375 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.249, allocations: 4.375 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.2493, allocations: 134 kB / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2493, allocations: 0 / 435.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2493, allocations: 4 kB / 435.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.417e-05/0.2493, allocations: 7.984 kB / 435.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2494, allocations: 43.91 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.2499, allocations: 340.9 kB / 435.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.2501, allocations: 87.78 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.2502, allocations: 38.61 kB / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2502, allocations: 0 / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2502, allocations: 46.44 kB / 435.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.2502, allocations: 0 / 435.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000385/0.2506, allocations: 113.5 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.2507, allocations: 103.2 kB / 436 MB, free: 2.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2508, allocations: 158.2 kB / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2508, allocations: 29.64 kB / 436.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.2509, allocations: 100.1 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.2509, allocations: 7.953 kB / 436.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.251, allocations: 17.72 kB / 436.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2511, allocations: 322.8 kB / 436.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.63e-05/0.2512, allocations: 15.98 kB / 436.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.2512, allocations: 47.36 kB / 436.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2514, allocations: 63.39 kB / 436.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2514, allocations: 4 kB / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001962/0.2516, allocations: 89.5 kB / 436.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2516, allocations: 11.98 kB / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2516, allocations: 0 / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2516, allocations: 0 / 436.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.2517, allocations: 12 kB / 436.8 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2517, allocations: 3.984 kB / 436.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.2518, allocations: 12.12 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.2518, allocations: 0 / 436.8 MB, free: 1.727 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: 0 () * 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.0001045/0.2519, allocations: 125.8 kB / 437 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.029e-05/0.252, allocations: 53.58 kB / 437 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.252, allocations: 19.91 kB / 437 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.252, allocations: 4 kB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.252, allocations: 0 / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.252, allocations: 0 / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.2523, allocations: 164.6 kB / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2523, allocations: 0 / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.2523, allocations: 11.98 kB / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2523, allocations: 0 / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.2523, allocations: 0 / 437.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2523, allocations: 4 kB / 437.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2523, allocations: 0 / 437.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2526, allocations: 279.5 kB / 437.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.2527, allocations: 19.83 kB / 437.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2527, allocations: 7.984 kB / 437.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2528, allocations: 4 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.2528, allocations: 0 / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2528, allocations: 3.984 kB / 437.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.418e-05/0.2529, allocations: 124.1 kB / 437.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2529, allocations: 4 kB / 437.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.2532, allocations: 8 kB / 437.7 MB, free: 0.8281 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: 0 () * 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.0005864/0.2538, allocations: 0.8064 MB / 438.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.254, allocations: 63.81 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.254, allocations: 0 / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.2541, allocations: 11.98 kB / 438.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2545, allocations: 28.02 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.2563, allocations: 1.589 MB / 440.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.2566, allocations: 0.7079 MB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.2567, allocations: 7.984 kB / 440.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.2567, allocations: 23.44 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2567, allocations: 0 / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.2827, allocations: 1.942 MB / 442.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.074, allocations: 7.938 kB / 442.8 MB, free: 11.61 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.518936127889901] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y[1]', 'sample1.y[2]'] 8.140417702961713 8.155163612 7.904350998 Calling exit ...