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.Sample3.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.001526/0.001526, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001839/0.001839, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",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.001888/0.001888, allocations: 68.48 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2727, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002995/0.2757, allocations: 1.729 MB / 433.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.2761, allocations: 167.4 kB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.2762, allocations: 3.938 kB / 433.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.2763, allocations: 3.938 kB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.2764, allocations: 19.86 kB / 433.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.2766, allocations: 39.89 kB / 433.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2767, allocations: 43.92 kB / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2768, allocations: 23.98 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.2769, allocations: 31.78 kB / 434 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.2769, allocations: 31.86 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.277, allocations: 4 kB / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.277, allocations: 7.938 kB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.144e-05/0.277, allocations: 15.92 kB / 434 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.2771, allocations: 39.73 kB / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2772, allocations: 64.52 kB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2772, allocations: 0 / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2772, allocations: 0 / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.2772, allocations: 0 / 434.1 MB, free: 4.668 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004683/0.2777, allocations: 321.9 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2777, allocations: 8.031 kB / 434.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.2778, allocations: 42.73 kB / 434.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2778, allocations: 12.83 kB / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.278, allocations: 144.8 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2781, allocations: 8.375 kB / 434.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2781, allocations: 4.375 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.2784, allocations: 166.4 kB / 434.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2784, allocations: 3.938 kB / 434.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2785, allocations: 4 kB / 434.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2785, allocations: 0 / 434.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2786, allocations: 35.97 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.279, allocations: 344.9 kB / 435.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.2792, allocations: 107.8 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.2793, allocations: 50.69 kB / 435.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.2794, allocations: 7.938 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2794, allocations: 34.55 kB / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.2794, allocations: 0 / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.000325/0.2797, allocations: 125.7 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.2798, allocations: 110.8 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2799, allocations: 137.8 kB / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.2799, allocations: 25.7 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.28, allocations: 88.14 kB / 435.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.28, allocations: 19.88 kB / 435.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.2801, allocations: 21.97 kB / 435.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2802, allocations: 330.7 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.2802, allocations: 15.98 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.2803, allocations: 63.72 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2805, allocations: 99.78 kB / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2805, allocations: 0 / 436.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.2806, allocations: 113.4 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2807, allocations: 4 kB / 436.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2807, allocations: 4.281 kB / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2807, allocations: 4 kB / 436.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.2808, allocations: 23.92 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2808, allocations: 4 kB / 436.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.2808, allocations: 11.95 kB / 436.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2808, allocations: 7.984 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.667e-05/0.2809, allocations: 125.7 kB / 436.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.281, allocations: 73.95 kB / 436.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.2811, allocations: 12.72 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2811, allocations: 8 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2811, allocations: 0 / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2811, allocations: 3.984 kB / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2813, allocations: 160.6 kB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2813, allocations: 0 / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.2814, allocations: 16 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2814, allocations: 3.984 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2814, allocations: 4 kB / 437 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2814, allocations: 3.938 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.2814, allocations: 0 / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.2818, allocations: 324.4 kB / 437.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.2818, allocations: 23.86 kB / 437.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2819, allocations: 8 kB / 437.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.282, allocations: 3.984 kB / 437.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.282, allocations: 8 kB / 437.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.282, allocations: 3.938 kB / 437.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.681e-05/0.2821, allocations: 106.5 kB / 437.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2821, allocations: 4 kB / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.2823, allocations: 12 kB / 437.5 MB, free: 0.9375 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 (10): * Single equations (assignments): 10 * 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.0006188/0.283, allocations: 0.8423 MB / 438.3 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2831, allocations: 60.34 kB / 438.4 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2831, allocations: 4.062 kB / 438.4 MB, free: 0 / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.2832, allocations: 15.92 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.2836, allocations: 43.94 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.2852, allocations: 1.581 MB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2855, allocations: 0.7002 MB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.134e-05/0.2855, allocations: 4.672 kB / 440.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.2856, allocations: 23.44 kB / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2856, allocations: 0 / 440.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3091, allocations: 1.922 MB / 442.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.067, allocations: 15.12 kB / 442.7 MB, free: 11.62 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_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_Sample3.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.45583577780053] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 8.135345863644034 8.159495215 7.877408926 Calling exit ...