Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001628/0.001628, 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.00232/0.00232, 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.001937/0.001937, allocations: 60.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2487, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00298/0.2517, allocations: 1.583 MB / 433.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2527, allocations: 0.5453 MB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.2528, allocations: 0 / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.2528, allocations: 11.86 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.253, allocations: 7.938 kB / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.2533, allocations: 71.73 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2534, allocations: 39.86 kB / 434.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.2535, allocations: 20.16 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2536, allocations: 23.92 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.2537, allocations: 23.86 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2537, allocations: 7.938 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.13e-05/0.2537, allocations: 8 kB / 434.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.2538, allocations: 15.92 kB / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.2538, allocations: 23.8 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2539, allocations: 64.53 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2539, allocations: 4 kB / 434.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2539, allocations: 0 / 434.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.254, allocations: 3.984 kB / 434.4 MB, free: 4.465 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004588/0.2544, allocations: 298 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2544, allocations: 12.03 kB / 434.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.2545, allocations: 38.75 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.2546, allocations: 20.88 kB / 434.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2549, allocations: 150.2 kB / 434.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2549, allocations: 4.359 kB / 434.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2549, allocations: 4.375 kB / 434.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2551, allocations: 109 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2552, allocations: 4 kB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2552, allocations: 0 / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2552, allocations: 0 / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.2552, allocations: 15.98 kB / 435 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.2556, allocations: 232.8 kB / 435.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.2557, allocations: 53.14 kB / 435.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.2557, allocations: 13.78 kB / 435.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2557, allocations: 3.984 kB / 435.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2558, allocations: 42.5 kB / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2558, allocations: 0 / 435.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.256, allocations: 69.66 kB / 435.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.2561, allocations: 81.11 kB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2562, allocations: 140.4 kB / 435.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2562, allocations: 25.7 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.2563, allocations: 92.12 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.2563, allocations: 3.953 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.2563, allocations: 17.72 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2564, allocations: 318.9 kB / 436.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.2565, allocations: 7.984 kB / 436.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.2565, allocations: 25.7 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.585e-05/0.2566, allocations: 29.66 kB / 436.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2566, allocations: 0 / 436.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.2567, allocations: 61.69 kB / 436.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2567, allocations: 4 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.2567, allocations: 0 / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2568, allocations: 4 kB / 436.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.2568, allocations: 4 kB / 436.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2568, allocations: 3.938 kB / 436.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.2569, allocations: 3.984 kB / 436.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.2569, allocations: 4 kB / 436.2 MB, free: 2.371 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: 0 () * 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 9.113e-05/0.257, allocations: 121.8 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.257, allocations: 45.58 kB / 436.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2571, allocations: 11.77 kB / 436.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2571, allocations: 4 kB / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2571, allocations: 0 / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2571, allocations: 0 / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2572, allocations: 144.7 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2572, allocations: 0 / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.2573, allocations: 11.98 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2573, allocations: 4.031 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2573, allocations: 0 / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2573, allocations: 4 kB / 436.6 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2573, allocations: 3.938 kB / 436.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.2575, allocations: 152.3 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.2575, allocations: 19.94 kB / 436.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.2575, allocations: 4.031 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.2576, allocations: 4 kB / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.2576, allocations: 7.922 kB / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2576, allocations: 0 / 436.7 MB, free: 1.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.2577, allocations: 111.2 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2577, allocations: 0 / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.2579, allocations: 8 kB / 436.9 MB, free: 1.648 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: 0 () * 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.0004375/0.2583, allocations: 0.6898 MB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.2585, allocations: 23.97 kB / 437.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2585, allocations: 0 / 437.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.2585, allocations: 16.09 kB / 437.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2588, allocations: 20 kB / 437.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2601, allocations: 1.323 MB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2604, allocations: 0.6963 MB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.2604, allocations: 4 kB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.2605, allocations: 15.38 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2605, allocations: 0 / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.2828, allocations: 1.561 MB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/7.971, allocations: 7.5 kB / 441.2 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_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_ClockSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.370700988918543] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.040934959892184 8.065880053999999 7.807447922 Calling exit ...