Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001477/0.001477, 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.001668/0.001668, 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.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001904/0.001904, allocations: 60.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004243/0.2667, allocations: 2.871 MB / 434.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2678, allocations: 0.6582 MB / 435.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.268, allocations: 4 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2681, allocations: 47.5 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.2683, allocations: 91.19 kB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2685, allocations: 79.89 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.2689, allocations: 346.9 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.2691, allocations: 107.8 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2693, allocations: 143.5 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.2695, allocations: 147.3 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.2695, allocations: 32 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.2696, allocations: 32 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.2697, allocations: 63.83 kB / 436.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.2698, allocations: 163.2 kB / 436.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.2702, allocations: 367.3 kB / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2702, allocations: 0 / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.2702, allocations: 0 / 437 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2702, allocations: 4 kB / 437 MB, free: 1.77 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009079/0.2711, allocations: 0.5248 MB / 437.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2712, allocations: 8.031 kB / 437.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.96e-05/0.2712, allocations: 58.73 kB / 437.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.2713, allocations: 40.73 kB / 437.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.2716, allocations: 202.8 kB / 437.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2717, allocations: 21.03 kB / 437.9 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2717, allocations: 32.31 kB / 437.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2722, allocations: 258.2 kB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2722, allocations: 0 / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2722, allocations: 16 kB / 438.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2722, allocations: 4 kB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.2726, allocations: 186.5 kB / 438.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.2741, allocations: 0.9753 MB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.2745, allocations: 170.6 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.2747, allocations: 128.8 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.2747, allocations: 0 / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.2747, allocations: 38.56 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 9.32e-07/0.2747, allocations: 4 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001408/0.2761, allocations: 0.6973 MB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2762, allocations: 59.41 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.2764, allocations: 188.8 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2764, allocations: 29.7 kB / 440.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2765, allocations: 172.5 kB / 440.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.2766, allocations: 95.22 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.2767, allocations: 45.98 kB / 441 MB, free: 13.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2769, allocations: 342.8 kB / 441.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.277, allocations: 68.53 kB / 441.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2772, allocations: 103.6 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.2775, allocations: 182.1 kB / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2775, allocations: 0 / 441.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005403/0.278, allocations: 318.1 kB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.278, allocations: 4 kB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.278, allocations: 4 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.2783, allocations: 84.75 kB / 442 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2785, allocations: 43.92 kB / 442.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.2806, allocations: 1.988 MB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2807, allocations: 11.97 kB / 444.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2807, allocations: 12 kB / 444.1 MB, free: 10.34 MB / 350.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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.2809, allocations: 137.7 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2809, allocations: 23.86 kB / 444.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.281, allocations: 34.02 kB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.281, allocations: 4 kB / 444.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.281, allocations: 112 / 444.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.281, allocations: 7.875 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.2821, allocations: 0.7088 MB / 445 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2821, allocations: 4 kB / 445 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.2822, allocations: 39.92 kB / 445 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.2824, allocations: 68.8 kB / 445.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.2824, allocations: 4 kB / 445.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.2843, allocations: 1.887 MB / 447 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2843, allocations: 0 / 447 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.285, allocations: 468.2 kB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.285, allocations: 23.84 kB / 447.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.2851, allocations: 8.25 kB / 447.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.2852, allocations: 16 kB / 447.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2853, allocations: 23.95 kB / 447.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2853, allocations: 4 kB / 447.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.2854, allocations: 147.2 kB / 447.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2854, allocations: 0 / 447.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003827/0.2858, allocations: 76 kB / 447.8 MB, free: 6.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009746/0.2868, allocations: 0.9979 MB / 448.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.2874, allocations: 358.4 kB / 449.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2874, allocations: 0 / 449.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.2878, allocations: 258.4 kB / 449.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.2882, allocations: 40.19 kB / 449.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.2917, allocations: 2.816 MB / 452.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2921, allocations: 0.7712 MB / 453 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.257e-05/0.2922, allocations: 22.28 kB / 453 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.2923, allocations: 83.41 kB / 453.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2923, allocations: 0 / 453.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.3304, allocations: 5.981 MB / 459.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.857/10.19, allocations: 3.188 kB / 459.1 MB, free: 11.12 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.520397307816893] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C3.v', 'C5.v', 'L1.i', 'L2.i'] 10.272501564119011 10.29821764 10.022940871 Calling exit ...