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.HoldWithDAeffects2.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.001913/0.001913, 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.001404/0.001404, 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",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.001916/0.001916, allocations: 64.77 kB / 378.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2754, allocations: 53.36 MB / 431.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003338/0.2787, allocations: 1.913 MB / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.28, allocations: 0.7013 MB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2802, allocations: 11.88 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.2803, allocations: 19.8 kB / 434.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2804, allocations: 27.78 kB / 434.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.2808, allocations: 111.6 kB / 434.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.2811, allocations: 151.5 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2812, allocations: 45.91 kB / 434.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2814, allocations: 67.7 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.2815, allocations: 47.72 kB / 435 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.2815, allocations: 11.94 kB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.2816, allocations: 20 kB / 435 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.2816, allocations: 35.89 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.2817, allocations: 63.55 kB / 435.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.2819, allocations: 144.2 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2819, allocations: 3.938 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2819, allocations: 0 / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2819, allocations: 0 / 435.3 MB, free: 3.574 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006226/0.2826, allocations: 385.6 kB / 435.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2826, allocations: 8.031 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.2827, allocations: 42.73 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.2828, allocations: 28.83 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.2832, allocations: 190.3 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2832, allocations: 11.94 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.2832, allocations: 8 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.2838, allocations: 280.2 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2838, allocations: 7.984 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.2839, allocations: 4 kB / 436.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2839, allocations: 4 kB / 436.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.2841, allocations: 71.89 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.2846, allocations: 398.5 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.2851, allocations: 217 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.2853, allocations: 108.2 kB / 437 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.2853, allocations: 4 kB / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2853, allocations: 46.48 kB / 437.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.2853, allocations: 0 / 437.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005669/0.2859, allocations: 213.3 kB / 437.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.286, allocations: 195.9 kB / 437.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.2862, allocations: 187.7 kB / 437.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2863, allocations: 34.02 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.2863, allocations: 108.5 kB / 437.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2864, allocations: 15.92 kB / 437.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.2864, allocations: 37.66 kB / 437.8 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2866, allocations: 326.8 kB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.811e-05/0.2867, allocations: 23.98 kB / 438.2 MB, free: 384 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.2869, allocations: 135.4 kB / 438.3 MB, free: 192 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2871, allocations: 182.4 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2871, allocations: 4 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002893/0.2874, allocations: 177.2 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2874, allocations: 8.531 kB / 438.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2875, allocations: 4 kB / 438.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2875, allocations: 8 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2876, allocations: 35.92 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.2876, allocations: 7.938 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.2877, allocations: 23.88 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2877, allocations: 8 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001314/0.2879, allocations: 133.8 kB / 438.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.2882, allocations: 149.4 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.2882, allocations: 25.41 kB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2882, allocations: 0 / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.2882, allocations: 7.938 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2882, allocations: 3.984 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2885, allocations: 188.6 kB / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2885, allocations: 0 / 439.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2887, allocations: 39.91 kB / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2887, allocations: 4 kB / 439.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2887, allocations: 8 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2887, allocations: 4.031 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2887, allocations: 3.938 kB / 439.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.2891, allocations: 365.3 kB / 439.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.2892, allocations: 35.81 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2892, allocations: 7.984 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2893, allocations: 12 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.2894, allocations: 11.86 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2894, allocations: 4 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.2895, allocations: 136.4 kB / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2895, allocations: 0 / 439.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2898, allocations: 23.95 kB / 439.9 MB, free: 14.45 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0008573/0.2907, allocations: 0.9584 MB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.291, allocations: 116.8 kB / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.291, allocations: 0 / 441 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.291, allocations: 16.06 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.2917, allocations: 117.6 kB / 441.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.294, allocations: 2.071 MB / 443.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.2943, allocations: 0.732 MB / 443.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.2944, allocations: 13.48 kB / 443.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.2945, allocations: 43.42 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2945, allocations: 0 / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.3208, allocations: 3.617 MB / 447.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.197, allocations: 6.812 kB / 447.6 MB, free: 6.629 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_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_HoldWithDAeffects2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.617854149080813] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.269725637044758 8.297694201 8.010531893 Calling exit ...