Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001702/0.001702, 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.002162/0.002162, 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.384/1.384, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.001889/0.001889, allocations: 68.77 kB / 378.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2538, allocations: 53.36 MB / 432 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007021/0.2608, allocations: 5.809 MB / 437.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00265/0.2634, allocations: 1.215 MB / 439 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.2639, allocations: 19.94 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.2643, allocations: 178.3 kB / 439.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.2648, allocations: 273.4 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.2653, allocations: 223.7 kB / 439.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2663, allocations: 1.06 MB / 440.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006076/0.2669, allocations: 410.8 kB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004274/0.2674, allocations: 426.6 kB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.2679, allocations: 470 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.2681, allocations: 100 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.2682, allocations: 100 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.2684, allocations: 227.2 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.2688, allocations: 0.4977 MB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.2699, allocations: 1.106 MB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2699, allocations: 3.938 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2699, allocations: 0 / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2699, allocations: 0 / 444 MB, free: 10.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001877/0.2718, allocations: 1.183 MB / 445.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2719, allocations: 12.03 kB / 445.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.272, allocations: 148.1 kB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.2722, allocations: 112.2 kB / 445.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.2728, allocations: 405.5 kB / 445.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.2729, allocations: 66.38 kB / 445.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.273, allocations: 96.38 kB / 446 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.2743, allocations: 0.8637 MB / 446.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2744, allocations: 7.938 kB / 446.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.2744, allocations: 47.98 kB / 447 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.2744, allocations: 20 kB / 447 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000973/0.2754, allocations: 0.5661 MB / 447.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.2795, allocations: 2.88 MB / 450.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.2799, allocations: 270.9 kB / 450.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.2803, allocations: 228.8 kB / 450.9 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2803, allocations: 4 kB / 450.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2803, allocations: 42.56 kB / 451 MB, free: 3.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.764e-06/0.2803, allocations: 3.938 kB / 451 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001351/0.2817, allocations: 0.572 MB / 451.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2817, allocations: 63.34 kB / 451.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.2823, allocations: 0.5142 MB / 452.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2823, allocations: 37.7 kB / 452.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.2826, allocations: 0.4914 MB / 452.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2828, allocations: 166.6 kB / 452.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.283, allocations: 130.6 kB / 452.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2831, allocations: 366.8 kB / 453.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.2834, allocations: 173.9 kB / 453.5 MB, free: 1.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.2839, allocations: 453.5 kB / 453.9 MB, free: 460 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.2848, allocations: 0.6469 MB / 454.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2848, allocations: 4 kB / 454.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001193/0.286, allocations: 0.7598 MB / 455.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.286, allocations: 8 kB / 455.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.286, allocations: 8 kB / 455.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002902/0.2863, allocations: 80.97 kB / 455.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.2869, allocations: 199.7 kB / 455.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.2889, allocations: 1.899 MB / 457.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.2894, allocations: 95.28 kB / 457.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.2894, allocations: 40 kB / 457.6 MB, free: 12.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002912/0.2897, allocations: 209.6 kB / 457.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.2898, allocations: 63.62 kB / 457.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.998e-05/0.2899, allocations: 61.5 kB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2899, allocations: 4 kB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2899, allocations: 0 / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2899, allocations: 4 kB / 458 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.2907, allocations: 0.6248 MB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2907, allocations: 4 kB / 458.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.2911, allocations: 91.94 kB / 458.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.2913, allocations: 72.73 kB / 458.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2913, allocations: 15.98 kB / 458.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.2932, allocations: 1.887 MB / 460.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2932, allocations: 0 / 460.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.2942, allocations: 0.6664 MB / 461.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2943, allocations: 55.61 kB / 461.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.2944, allocations: 12 kB / 461.4 MB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.2948, allocations: 47.91 kB / 461.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.2948, allocations: 31.94 kB / 461.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2949, allocations: 12 kB / 461.5 MB, free: 8.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003969/0.2953, allocations: 342.9 kB / 461.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2953, allocations: 0 / 461.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007809/0.296, allocations: 251.5 kB / 462.1 MB, free: 7.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001333/0.2974, allocations: 1.215 MB / 463.3 MB, free: 6.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.2984, allocations: 0.5577 MB / 463.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2984, allocations: 0 / 463.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.2989, allocations: 302.9 kB / 464.1 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.2994, allocations: 130.4 kB / 464.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007331/0.3068, allocations: 5.482 MB / 469.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.3073, allocations: 0.9298 MB / 470.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.3076, allocations: 73.2 kB / 470.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.3079, allocations: 263.3 kB / 471 MB, free: 14.48 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3079, allocations: 0 / 471 MB, free: 14.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.363, allocations: 13.38 MB / 484.4 MB, free: 1.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.93, allocations: 14.34 kB / 484.4 MB, free: 1.289 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_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_CauerLowPassOPV.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.303190317004919] Failed to read output from testmodel.py, exit status != 0: ['time', 'C1.v', 'C2.v', 'C3.v', 'C4.v', 'C7.v'] 11.022237317170948 11.048078579 10.772930351 Calling exit ...