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.HoldWithDAeffects1.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.001636/0.001636, allocations: 110.5 kB / 21.23 MB, free: 0.5117 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.002014/0.002014, allocations: 207.9 kB / 24.53 MB, free: 3.891 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001978/0.001978, allocations: 68.53 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2639, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003299/0.2672, allocations: 1.899 MB / 433.8 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2685, allocations: 0.7013 MB / 434.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2686, allocations: 15.81 kB / 434.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2688, allocations: 15.8 kB / 434.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2689, allocations: 31.78 kB / 434.6 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.2693, allocations: 118.4 kB / 434.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.2695, allocations: 143.5 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2696, allocations: 49.89 kB / 434.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2698, allocations: 63.7 kB / 435 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.2699, allocations: 51.66 kB / 435 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2699, allocations: 12 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.27, allocations: 20 kB / 435 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.27, allocations: 31.91 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.2701, allocations: 63.55 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.2703, allocations: 148.2 kB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2703, allocations: 3.938 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2703, allocations: 0 / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2703, allocations: 4 kB / 435.3 MB, free: 3.508 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.0005898/0.2709, allocations: 377.6 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.271, allocations: 15.97 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.271, allocations: 42.73 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.2711, allocations: 20.84 kB / 435.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.2715, allocations: 194.3 kB / 435.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2715, allocations: 11.94 kB / 435.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.2715, allocations: 15.94 kB / 435.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.272, allocations: 275.7 kB / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2721, allocations: 0 / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2721, allocations: 0 / 436.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2721, allocations: 4 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.2723, allocations: 79.83 kB / 436.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.2728, allocations: 402.5 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/0.2732, allocations: 209.1 kB / 436.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.2733, allocations: 96.25 kB / 437 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.2734, allocations: 7.938 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.2734, allocations: 50.48 kB / 437 MB, free: 1.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.123e-06/0.2734, allocations: 0 / 437 MB, free: 1.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005228/0.2739, allocations: 209.3 kB / 437.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.2741, allocations: 196.7 kB / 437.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.2742, allocations: 183.8 kB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.2743, allocations: 29.7 kB / 437.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.2743, allocations: 104.1 kB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.2744, allocations: 15.91 kB / 437.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/0.2744, allocations: 45.53 kB / 437.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2746, allocations: 326.8 kB / 438.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.2746, allocations: 19.98 kB / 438.2 MB, free: 348 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2747, allocations: 134.5 kB / 438.3 MB, free: 160 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.275, allocations: 169.6 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.275, allocations: 0 / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000262/0.2752, allocations: 161.7 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2752, allocations: 7.938 kB / 438.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2753, allocations: 8 kB / 438.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2753, allocations: 4 kB / 438.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2754, allocations: 35.92 kB / 438.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.2754, allocations: 4 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.2755, allocations: 19.92 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2755, allocations: 8 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001202/0.2756, allocations: 133.8 kB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.2759, allocations: 153.3 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.276, allocations: 21.41 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.276, allocations: 4 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.276, allocations: 4 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.276, allocations: 3.984 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.2762, allocations: 184.6 kB / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2762, allocations: 0 / 439.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.2764, allocations: 40.2 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.2764, allocations: 7.938 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.2764, allocations: 8.031 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2764, allocations: 4 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2764, allocations: 3.938 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.2768, allocations: 364 kB / 439.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.2769, allocations: 27.83 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.2769, allocations: 8 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.277, allocations: 11.98 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.277, allocations: 4 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2771, allocations: 7.984 kB / 439.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.2772, allocations: 132.5 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2772, allocations: 3.938 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.2775, allocations: 27.94 kB / 439.8 MB, free: 14.47 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0006889/0.2782, allocations: 0.8973 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.2784, allocations: 108.7 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2784, allocations: 0 / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.357e-05/0.2785, allocations: 16.05 kB / 440.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.2791, allocations: 91.92 kB / 440.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2815, allocations: 2.072 MB / 443 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.2819, allocations: 0.7242 MB / 443.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.2819, allocations: 17.48 kB / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.282, allocations: 43.36 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.282, allocations: 4.469 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.3105, allocations: 3.491 MB / 447.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.158, allocations: 18.56 kB / 447.3 MB, free: 6.848 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98486e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.549946068786085] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.229617257136852 8.25516627 7.980126295 Calling exit ...