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.SuperSample.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.001304/0.001304, allocations: 109 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.001395/0.001395, allocations: 213.6 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001862/0.001862, allocations: 56.78 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2561, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002754/0.2588, allocations: 1.588 MB / 433.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2599, allocations: 0.5687 MB / 434.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.26, allocations: 4 kB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/0.26, allocations: 3.938 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.2602, allocations: 19.84 kB / 434.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.2605, allocations: 67.69 kB / 434.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.2606, allocations: 39.92 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2607, allocations: 14.28 kB / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.2608, allocations: 31.86 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.2609, allocations: 19.86 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2609, allocations: 4 kB / 434.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.2609, allocations: 8 kB / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.041e-05/0.261, allocations: 15.92 kB / 434.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.261, allocations: 31.78 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2612, allocations: 59.69 kB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2612, allocations: 0 / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2612, allocations: 0 / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2612, allocations: 0 / 434.4 MB, free: 4.43 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.0004911/0.2617, allocations: 313.9 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2617, allocations: 8.031 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.2618, allocations: 34.75 kB / 434.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.2619, allocations: 16.88 kB / 434.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2622, allocations: 150.3 kB / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2622, allocations: 384 / 434.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.2622, allocations: 12.36 kB / 434.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.2625, allocations: 101 kB / 435 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2625, allocations: 7.984 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2625, allocations: 3.938 kB / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2625, allocations: 0 / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.2626, allocations: 23.92 kB / 435 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.2629, allocations: 228.8 kB / 435.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.091e-05/0.263, allocations: 45.14 kB / 435.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.263, allocations: 21.78 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.263, allocations: 3.984 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2631, allocations: 34.55 kB / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2631, allocations: 0 / 435.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000238/0.2633, allocations: 73.67 kB / 435.4 MB, free: 3.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.2634, allocations: 81.09 kB / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2635, allocations: 137.8 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2635, allocations: 25.7 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.2636, allocations: 88.12 kB / 435.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.2636, allocations: 7.953 kB / 435.8 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.2636, allocations: 13.72 kB / 435.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2638, allocations: 326.9 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.2638, allocations: 11.92 kB / 436.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.2638, allocations: 17.72 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.2639, allocations: 25.7 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2639, allocations: 4.062 kB / 436.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.264, allocations: 65.56 kB / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.264, allocations: 8 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2641, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2641, allocations: 0 / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.2641, allocations: 4 kB / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2641, allocations: 0 / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.2642, allocations: 7.984 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.2642, allocations: 0 / 436.2 MB, free: 2.328 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 8.525e-05/0.2643, allocations: 121.8 kB / 436.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.2643, allocations: 45.53 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.2644, allocations: 19.75 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2644, allocations: 0 / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2644, allocations: 0 / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.2644, allocations: 4 kB / 436.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2645, allocations: 140.7 kB / 436.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2645, allocations: 0 / 436.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.2646, allocations: 4 kB / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2646, allocations: 8.031 kB / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2646, allocations: 3.984 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2646, allocations: 0 / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2646, allocations: 0 / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.2648, allocations: 168.2 kB / 436.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.2648, allocations: 11.97 kB / 436.8 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2648, allocations: 8 kB / 436.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.2649, allocations: 4 kB / 436.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.2649, allocations: 3.984 kB / 436.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2649, allocations: 4 kB / 436.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.265, allocations: 105.5 kB / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.265, allocations: 0 / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.2652, allocations: 4 kB / 436.9 MB, free: 1.609 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.0004531/0.2657, allocations: 0.6937 MB / 437.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.2658, allocations: 23.92 kB / 437.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2658, allocations: 0 / 437.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/0.2658, allocations: 16.14 kB / 437.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2661, allocations: 18.59 kB / 437.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.2675, allocations: 1.328 MB / 439 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2678, allocations: 0.6953 MB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.2678, allocations: 7.969 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.2679, allocations: 15.44 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2679, allocations: 0 / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.2908, allocations: 1.563 MB / 441.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.948, allocations: 6.641 kB / 441.2 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.59331e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.267300960142165] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.016141552012414 8.042845689 7.776708187 Calling exit ...