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.SampleClocked.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.001852/0.001852, 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.002319/0.002319, allocations: 211.9 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001942/0.001942, allocations: 68.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2672, allocations: 53.36 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003077/0.2703, allocations: 1.587 MB / 433.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2714, allocations: 0.5376 MB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.2715, allocations: 3.938 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.306e-05/0.2715, allocations: 3.938 kB / 434.1 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2716, allocations: 15.86 kB / 434.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.2719, allocations: 55.75 kB / 434.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.272, allocations: 39.86 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.2721, allocations: 8 kB / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2722, allocations: 31.91 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.115e-05/0.2722, allocations: 19.86 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2723, allocations: 4 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.2723, allocations: 8 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.2723, allocations: 11.98 kB / 434.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.2724, allocations: 23.81 kB / 434.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2725, allocations: 60.47 kB / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2725, allocations: 0 / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2725, allocations: 0 / 434.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2725, allocations: 0 / 434.3 MB, free: 4.461 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004298/0.2729, allocations: 294 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.273, allocations: 12.03 kB / 434.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.273, allocations: 34.75 kB / 434.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.2731, allocations: 16.88 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2734, allocations: 138.4 kB / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2734, allocations: 4.375 kB / 434.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.2734, allocations: 384 / 434.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.2736, allocations: 101.2 kB / 434.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2736, allocations: 4 kB / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.2736, allocations: 0 / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2736, allocations: 0 / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.316e-05/0.2737, allocations: 19.92 kB / 434.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.274, allocations: 236.8 kB / 435.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.2741, allocations: 45.14 kB / 435.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.2741, allocations: 17.78 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2741, allocations: 4 kB / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2742, allocations: 34.55 kB / 435.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2742, allocations: 7.938 kB / 435.3 MB, free: 3.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002184/0.2744, allocations: 69.58 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.2744, allocations: 81.09 kB / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2746, allocations: 136.7 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2746, allocations: 25.7 kB / 435.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.2746, allocations: 88.14 kB / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.2747, allocations: 8.234 kB / 435.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2747, allocations: 21.67 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2748, allocations: 318.7 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.2749, allocations: 11.98 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.2749, allocations: 17.72 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.314e-05/0.275, allocations: 37.7 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.275, allocations: 0 / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.2751, allocations: 57.61 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2751, allocations: 4 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2751, allocations: 4 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2751, allocations: 0 / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.2752, allocations: 8 kB / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2752, allocations: 0 / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.2752, allocations: 4.062 kB / 436.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2752, allocations: 7.984 kB / 436.2 MB, free: 2.391 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.071e-05/0.2753, allocations: 117.8 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.2754, allocations: 45.58 kB / 436.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.2754, allocations: 15.75 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2754, allocations: 0 / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2754, allocations: 4 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2754, allocations: 0 / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2756, allocations: 144.6 kB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2756, allocations: 4 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.2756, allocations: 8 kB / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2756, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.2756, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2756, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2756, allocations: 3.984 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.2758, allocations: 164.2 kB / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2758, allocations: 15.94 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2758, allocations: 7.938 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.2759, allocations: 0 / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.2759, allocations: 0 / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.2759, allocations: 4 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.773e-05/0.276, allocations: 107.2 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.276, allocations: 0 / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.2762, allocations: 4 kB / 436.8 MB, free: 1.68 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.0004398/0.2767, allocations: 0.6937 MB / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2768, allocations: 28.02 kB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2768, allocations: 0 / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.2768, allocations: 11.98 kB / 437.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2771, allocations: 20.78 kB / 437.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2784, allocations: 1.312 MB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.2787, allocations: 0.6885 MB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.2787, allocations: 0 / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.2788, allocations: 15.44 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2788, allocations: 0 / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3027, allocations: 1.499 MB / 441.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.126, allocations: 3.375 kB / 441.1 MB, free: 13.36 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_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_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.61368595995009] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.19523403281346 8.216820633 7.939721406 Calling exit ...