Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.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.001312/0.001312, allocations: 110.5 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.2 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",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.003108/0.003108, allocations: 68.75 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3018, allocations: 53.36 MB / 432 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008061/0.3099, allocations: 6.725 MB / 438.7 MB, free: 124 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.3136, allocations: 1.726 MB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.3141, allocations: 23.88 kB / 440.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.3148, allocations: 261.9 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3159, allocations: 0.5199 MB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.3167, allocations: 447.4 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007941/0.3246, allocations: 7.786 MB / 449.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.327, allocations: 1.567 MB / 451 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.331, allocations: 2.793 MB / 453.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004951/0.3359, allocations: 2.899 MB / 456.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.3371, allocations: 0.6602 MB / 457.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.3385, allocations: 0.6562 MB / 458 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.3401, allocations: 1.601 MB / 459.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00428/0.3444, allocations: 2.956 MB / 462.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.3532, allocations: 8.238 MB / 470.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3532, allocations: 0 / 470.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3532, allocations: 4 kB / 470.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002579/0.3534, allocations: 0 / 470.8 MB, free: 15.83 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.01478/0.3682, allocations: 5.957 MB / 476.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.3683, allocations: 8.031 kB / 476.8 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000999/0.3693, allocations: 0.5841 MB / 477.4 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3703, allocations: 0.5446 MB / 477.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.3753, allocations: 2.693 MB / 480.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.3756, allocations: 312.5 kB / 480.9 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007179/0.3763, allocations: 448.2 kB / 481.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.3876, allocations: 6.299 MB / 487.6 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/0.3876, allocations: 4 kB / 487.6 MB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004598/0.3881, allocations: 183.9 kB / 487.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.3883, allocations: 196.5 kB / 488 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.3986, allocations: 5.553 MB / 493.6 MB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03637/0.4349, allocations: 18.53 MB / 0.5001 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007353/0.4423, allocations: 4.337 MB / 0.5043 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00463/0.4469, allocations: 3.35 MB / 0.5076 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.4471, allocations: 38.8 kB / 0.5076 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.4472, allocations: 89.88 kB / 0.5077 GB, free: 14.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 5.44e-06/0.4472, allocations: 0 / 0.5077 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01051/0.4577, allocations: 5.908 MB / 0.5135 GB, free: 8.074 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.4579, allocations: 303.8 kB / 0.5138 GB, free: 7.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.4634, allocations: 3.201 MB / 0.5169 GB, free: 4.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005443/0.4639, allocations: 105.7 kB / 0.517 GB, free: 4.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.4654, allocations: 1.719 MB / 0.5187 GB, free: 2.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.4668, allocations: 1.325 MB / 0.52 GB, free: 1.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/0.4679, allocations: 0.6459 MB / 0.5206 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.468, allocations: 305.1 kB / 0.5209 GB, free: 364 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003288/0.4713, allocations: 2.127 MB / 0.523 GB, free: 14.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.4748, allocations: 2.451 MB / 0.5254 GB, free: 11.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/0.4908, allocations: 8.933 MB / 0.5341 GB, free: 2.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4908, allocations: 0 / 0.5341 GB, free: 2.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2149/0.7057, allocations: 5.604 MB / 0.5396 GB, free: 98.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.7057, allocations: 5.656 kB / 0.5396 GB, free: 98.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.7057, allocations: 2.172 kB / 0.5396 GB, free: 98.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/0.7067, allocations: 327.1 kB / 0.5399 GB, free: 97.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/0.7102, allocations: 0.916 MB / 0.5408 GB, free: 97.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.7157, allocations: 7.422 MB / 0.548 GB, free: 92.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.7188, allocations: 412.8 kB / 0.5484 GB, free: 92.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.719, allocations: 104.4 kB / 0.5485 GB, free: 92 MB / 446.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (453): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0022/0.7212, allocations: 1.411 MB / 0.5499 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005964/0.7218, allocations: 351 kB / 0.5502 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.7224, allocations: 450.1 kB / 0.5507 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.7225, allocations: 35.38 kB / 0.5507 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-05/0.7225, allocations: 0 / 0.5507 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.7225, allocations: 17.91 kB / 0.5507 GB, free: 91.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.7353, allocations: 12.05 MB / 0.5625 GB, free: 85.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/0.7353, allocations: 12 kB / 0.5625 GB, free: 85.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/0.7383, allocations: 0.8058 MB / 0.5633 GB, free: 84.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006081/0.7389, allocations: 285.5 kB / 0.5636 GB, free: 83.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.7391, allocations: 131.9 kB / 0.5637 GB, free: 83.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.744, allocations: 10.31 MB / 0.5738 GB, free: 72.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.744, allocations: 19.94 kB / 0.5738 GB, free: 72.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007741/0.7517, allocations: 7.142 MB / 0.5807 GB, free: 65.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.753, allocations: 0.4978 MB / 0.5812 GB, free: 64.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/0.7535, allocations: 124 kB / 0.5814 GB, free: 64.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/0.7559, allocations: 411.6 kB / 0.5817 GB, free: 64.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/0.7563, allocations: 305 kB / 0.582 GB, free: 64.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/0.7565, allocations: 116 kB / 0.5821 GB, free: 63.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002447/0.7589, allocations: 2.283 MB / 0.5844 GB, free: 61.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7589, allocations: 0 / 0.5844 GB, free: 61.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002756/0.7617, allocations: 1.338 MB / 0.5857 GB, free: 60.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.L[8].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].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 (342): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007435/0.7691, allocations: 7.877 MB / 0.5934 GB, free: 52.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005869/0.775, allocations: 4.951 MB / 0.5982 GB, free: 47.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.775, allocations: 10.66 kB / 0.5982 GB, free: 47.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.7783, allocations: 3.228 MB / 0.6014 GB, free: 43.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.7815, allocations: 0.8059 MB / 0.6022 GB, free: 42.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04363/0.8252, allocations: 38.23 MB / 0.6395 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.8275, allocations: 3.211 MB / 0.6426 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003251/0.8307, allocations: 1.301 MB / 0.6439 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/0.8332, allocations: 1.597 MB / 0.6455 GB, free: 13.88 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8332, allocations: 4 kB / 0.6455 GB, free: 13.88 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1603/0.9935, allocations: 81.65 MB / 0.7252 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/18.21, allocations: 7.609 kB / 0.7252 GB, free: 13.06 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.csv --start-time 0 --stop-time 0.004 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.8637508652173] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'oLine1.p2.v', 'oLine2.p2.v', 'oLine3.p2.v', 'oLine4.p2.v', 'tLine1.p2.v', 'tLine2.p2.v', 'tLine3.p2.v', 'tLine4.p2.v'] 18.352709150873125 18.566874199 18.022911008 Calling exit ...