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.Hold.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.001767/0.001767, 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.002169/0.002169, 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",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.002003/0.002003, allocations: 68.75 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.249, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002875/0.2519, allocations: 1.638 MB / 433.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2529, allocations: 0.5881 MB / 434.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.253, allocations: 4 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.707e-05/0.253, allocations: 7.875 kB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.2531, allocations: 11.86 kB / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2534, allocations: 59.81 kB / 434.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2536, allocations: 59.78 kB / 434.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.2537, allocations: 11.98 kB / 434.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.2538, allocations: 35.86 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.2538, allocations: 27.84 kB / 434.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2539, allocations: 4 kB / 434.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.2539, allocations: 8 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.2539, allocations: 19.92 kB / 434.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.254, allocations: 27.75 kB / 434.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.2541, allocations: 64.52 kB / 434.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2541, allocations: 3.984 kB / 434.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2541, allocations: 0 / 434.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2541, allocations: 3.938 kB / 434.5 MB, free: 4.297 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000484/0.2546, allocations: 317.9 kB / 434.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2547, allocations: 8.031 kB / 434.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.2547, allocations: 38.73 kB / 434.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2548, allocations: 20.89 kB / 434.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.2551, allocations: 154.8 kB / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.2551, allocations: 384 / 435 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.2551, allocations: 7.938 kB / 435 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.2554, allocations: 138.7 kB / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2554, allocations: 0 / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2554, allocations: 0 / 435.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2554, allocations: 4 kB / 435.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.992e-05/0.2555, allocations: 31.91 kB / 435.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.2559, allocations: 254.6 kB / 435.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.256, allocations: 98.3 kB / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.2561, allocations: 43.55 kB / 435.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2561, allocations: 4 kB / 435.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2561, allocations: 34.56 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2561, allocations: 7.938 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000285/0.2564, allocations: 101.5 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.2565, allocations: 133 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2567, allocations: 156.4 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2567, allocations: 29.7 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.2567, allocations: 88.14 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.2567, allocations: 11.94 kB / 436.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.2568, allocations: 25.66 kB / 436.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2569, allocations: 314.8 kB / 436.5 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.257, allocations: 15.98 kB / 436.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.257, allocations: 48.28 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.2571, allocations: 60.22 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2571, allocations: 0 / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001647/0.2573, allocations: 85.5 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2573, allocations: 4 kB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2573, allocations: 0 / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2573, allocations: 4 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.2574, allocations: 15.92 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2574, allocations: 7.938 kB / 436.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.2575, allocations: 8.156 kB / 436.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2575, allocations: 0 / 436.7 MB, free: 1.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.826e-05/0.2576, allocations: 133.7 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.2577, allocations: 49.66 kB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.2577, allocations: 19.91 kB / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2577, allocations: 0 / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2577, allocations: 7.938 kB / 436.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2577, allocations: 0 / 436.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.2579, allocations: 156.7 kB / 437.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2579, allocations: 4 kB / 437.1 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.258, allocations: 11.94 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.258, allocations: 8.109 kB / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.258, allocations: 4 kB / 437.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.258, allocations: 0 / 437.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.258, allocations: 7.938 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.2582, allocations: 202 kB / 437.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.2582, allocations: 15.94 kB / 437.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2582, allocations: 4 kB / 437.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.2583, allocations: 0 / 437.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.2583, allocations: 7.938 kB / 437.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.2583, allocations: 3.984 kB / 437.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.208e-05/0.2584, allocations: 117.9 kB / 437.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2584, allocations: 0 / 437.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.2587, allocations: 11.94 kB / 437.5 MB, free: 0.9258 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004777/0.2591, allocations: 0.7344 MB / 438.2 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2593, allocations: 43.86 kB / 438.2 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2593, allocations: 0 / 438.2 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.2593, allocations: 15.98 kB / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2597, allocations: 32.38 kB / 438.3 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.2611, allocations: 1.462 MB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2614, allocations: 0.6924 MB / 440.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.2615, allocations: 11.98 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.2615, allocations: 23.38 kB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2615, allocations: 0 / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.2844, allocations: 1.925 MB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.778/8.062, allocations: 15.31 kB / 442.4 MB, free: 11.89 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_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_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.52166183385998] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.130283504258841 8.14612886 7.888689229 Calling exit ...