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.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.001683/0.001683, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002127/0.002127, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.397/1.397, 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.001948/0.001948, allocations: 64.77 kB / 378.6 MB, free: 3.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2684, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003814/0.2723, allocations: 1.616 MB / 433.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2737, allocations: 0.5764 MB / 434.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2738, allocations: 4 kB / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.874e-05/0.2739, allocations: 3.938 kB / 434.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2741, allocations: 11.86 kB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.2745, allocations: 71.73 kB / 434.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.2747, allocations: 51.86 kB / 434.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2748, allocations: 12.17 kB / 434.3 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.275, allocations: 31.84 kB / 434.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.931e-05/0.2751, allocations: 15.92 kB / 434.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2751, allocations: 7.938 kB / 434.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.2752, allocations: 4 kB / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.2753, allocations: 8 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.2753, allocations: 35.73 kB / 434.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.2756, allocations: 64.52 kB / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2756, allocations: 0 / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2756, allocations: 0 / 434.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2756, allocations: 7.938 kB / 434.4 MB, free: 4.402 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.0006499/0.2763, allocations: 305.9 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.2763, allocations: 8.031 kB / 434.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.2764, allocations: 38.75 kB / 434.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.2766, allocations: 16.88 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.2769, allocations: 142.9 kB / 434.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.277, allocations: 8.125 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.277, allocations: 4 kB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.2773, allocations: 117.9 kB / 435.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2774, allocations: 7.875 kB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2774, allocations: 0 / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2774, allocations: 4 kB / 435.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.2775, allocations: 19.98 kB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.2779, allocations: 249.6 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.2781, allocations: 67.8 kB / 435.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.2782, allocations: 34.62 kB / 435.4 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2782, allocations: 3.984 kB / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.2783, allocations: 34.56 kB / 435.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.2783, allocations: 0 / 435.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003837/0.2786, allocations: 89.5 kB / 435.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.2787, allocations: 118.7 kB / 435.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.2789, allocations: 147.6 kB / 435.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.279, allocations: 26.08 kB / 435.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.279, allocations: 96.12 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.2791, allocations: 4 kB / 436 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.2791, allocations: 21.67 kB / 436 MB, free: 2.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2793, allocations: 314.8 kB / 436.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-05/0.2793, allocations: 12 kB / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.2794, allocations: 31.41 kB / 436.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2796, allocations: 55.36 kB / 436.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2796, allocations: 0 / 436.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002/0.2798, allocations: 69.67 kB / 436.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2798, allocations: 8 kB / 436.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2798, allocations: 4 kB / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2798, allocations: 0 / 436.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.593e-05/0.2799, allocations: 11.98 kB / 436.5 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2799, allocations: 3.938 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.28, allocations: 4 kB / 436.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.28, allocations: 0 / 436.5 MB, free: 2.094 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.0001253/0.2801, allocations: 117.8 kB / 436.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.2802, allocations: 61.53 kB / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.2803, allocations: 11.97 kB / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2803, allocations: 0 / 436.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.2803, allocations: 11.92 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2803, allocations: 0 / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.2806, allocations: 148.7 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2806, allocations: 0 / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.2806, allocations: 11.98 kB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2807, allocations: 0 / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2807, allocations: 0 / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2807, allocations: 8.062 kB / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2807, allocations: 7.875 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.2809, allocations: 173.1 kB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.281, allocations: 23.94 kB / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.281, allocations: 0 / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.2811, allocations: 4 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.2812, allocations: 11.88 kB / 437.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2812, allocations: 0 / 437.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2813, allocations: 118.4 kB / 437.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2813, allocations: 0 / 437.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003871/0.2817, allocations: 4 kB / 437.2 MB, free: 1.312 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 (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 Backend phase and start with SimCode phase: time 0.0006509/0.2823, allocations: 0.7102 MB / 437.9 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.2825, allocations: 31.92 kB / 437.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2825, allocations: 0 / 437.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.2826, allocations: 12.25 kB / 437.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.2831, allocations: 34.61 kB / 438 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.285, allocations: 1.403 MB / 439.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.2854, allocations: 0.6962 MB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.2854, allocations: 0 / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.2855, allocations: 27.42 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2855, allocations: 0 / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.3132, allocations: 1.709 MB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.872, allocations: 13.45 kB / 441.8 MB, free: 12.61 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.249433587770909] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 7.938375713303685 7.952916491 7.67430135 Calling exit ...