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.001431/0.001431, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001396/0.001396, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.471/1.471, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.002113/0.002113, allocations: 71.83 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1114, allocations: 53.32 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.219/0.3304, allocations: 6.723 MB / 433.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.3332, allocations: 1.712 MB / 435.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.3337, allocations: 27.69 kB / 435.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.3343, allocations: 253.1 kB / 435.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009315/0.3352, allocations: 0.5166 MB / 436.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.3359, allocations: 442.8 kB / 436.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006887/0.3428, allocations: 7.813 MB / 444.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.3455, allocations: 2.188 MB / 446.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.3501, allocations: 2.785 MB / 449.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005917/0.356, allocations: 2.903 MB / 452.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.3581, allocations: 0.6583 MB / 453.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.3608, allocations: 0.6569 MB / 453.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002113/0.3629, allocations: 1.592 MB / 455.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007238/0.3701, allocations: 2.949 MB / 458.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3813, allocations: 8.234 MB / 466.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3813, allocations: 5 kB / 466.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3813, allocations: 0 / 466.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002764/0.3816, allocations: 0 / 466.5 MB, free: 7.488 MB / 366.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.02211/0.4037, allocations: 6.037 MB / 472.5 MB, free: 3.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.326e-05/0.4037, allocations: 8.031 kB / 472.5 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003575/0.4073, allocations: 0.5919 MB / 473.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.4103, allocations: 0.5407 MB / 473.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.421, allocations: 2.664 MB / 476.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005179/0.4216, allocations: 320.5 kB / 476.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002411/0.424, allocations: 444.2 kB / 477.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0254/0.4494, allocations: 6.312 MB / 483.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.4495, allocations: 0 / 483.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.451, allocations: 172 kB / 483.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/0.4513, allocations: 208.2 kB / 483.8 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.4717, allocations: 5.549 MB / 489.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0668/0.5385, allocations: 18.6 MB / 0.496 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.5514, allocations: 4.346 MB / 0.5003 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00853/0.5599, allocations: 3.346 MB / 0.5035 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.5602, allocations: 38.75 kB / 0.5036 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.5603, allocations: 89.94 kB / 0.5036 GB, free: 7.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 6.092e-06/0.5603, allocations: 0 / 0.5036 GB, free: 7.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.01219/0.5725, allocations: 6.443 MB / 0.5099 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001845/0.5727, allocations: 299.8 kB / 0.5102 GB, free: 444 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006063/0.5787, allocations: 3.201 MB / 0.5133 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008631/0.5796, allocations: 109.7 kB / 0.5134 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.5812, allocations: 1.715 MB / 0.5151 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001799/0.583, allocations: 1.321 MB / 0.5164 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.5844, allocations: 0.642 MB / 0.517 GB, free: 9.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5846, allocations: 309.1 kB / 0.5173 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/0.5883, allocations: 2.119 MB / 0.5194 GB, free: 6.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004054/0.5923, allocations: 2.459 MB / 0.5218 GB, free: 4.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.6106, allocations: 9.167 MB / 0.5308 GB, free: 11.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.6106, allocations: 0 / 0.5308 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01016/0.6208, allocations: 5.599 MB / 0.5362 GB, free: 5.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.6208, allocations: 11.94 kB / 0.5362 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6208, allocations: 0 / 0.5362 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009885/0.6218, allocations: 332.3 kB / 0.5366 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/0.6255, allocations: 0.9096 MB / 0.5374 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/0.6337, allocations: 7.833 MB / 0.5451 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/0.6385, allocations: 410.1 kB / 0.5455 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008563/0.6394, allocations: 112 kB / 0.5456 GB, free: 11.46 MB / 462.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.003719/0.6431, allocations: 1.405 MB / 0.547 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/0.6443, allocations: 353.9 kB / 0.5473 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.6455, allocations: 451.6 kB / 0.5477 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.6455, allocations: 32 kB / 0.5478 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/0.6455, allocations: 4.891 kB / 0.5478 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.6456, allocations: 15.94 kB / 0.5478 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/0.6677, allocations: 12 MB / 0.5595 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/0.6677, allocations: 15.94 kB / 0.5595 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003871/0.6716, allocations: 0.8114 MB / 0.5603 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008642/0.6725, allocations: 285.8 kB / 0.5606 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003981/0.6729, allocations: 127.9 kB / 0.5607 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009633/0.6825, allocations: 11.04 MB / 0.5715 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/0.6825, allocations: 24.09 kB / 0.5715 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.6954, allocations: 7.143 MB / 0.5785 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/0.6975, allocations: 0.5567 MB / 0.579 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001974/0.6995, allocations: 127.9 kB / 0.5791 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004199/0.7037, allocations: 411.6 kB / 0.5795 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007849/0.7044, allocations: 285.6 kB / 0.5798 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000365/0.7048, allocations: 116 kB / 0.5799 GB, free: 6.625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00422/0.709, allocations: 2.279 MB / 0.5821 GB, free: 4.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.709, allocations: 7.938 kB / 0.5822 GB, free: 4.324 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005469/0.7145, allocations: 1.33 MB / 0.5835 GB, free: 2.992 MB / 494.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.0129/0.7274, allocations: 7.883 MB / 0.5912 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009627/0.737, allocations: 4.952 MB / 0.596 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.762e-05/0.7371, allocations: 6.562 kB / 0.596 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005601/0.7427, allocations: 3.236 MB / 0.5992 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/0.7476, allocations: 0.8018 MB / 0.5999 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2869/1.034, allocations: 38.17 MB / 0.6372 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/1.038, allocations: 3.213 MB / 0.6403 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003439/1.041, allocations: 1.298 MB / 0.6416 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002202/1.044, allocations: 1.599 MB / 0.6432 GB, free: 154 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/1.044, allocations: 0 / 0.6432 GB, free: 154 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/1.17, allocations: 79.05 MB / 0.7204 GB, free: 87.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/18.13, allocations: 8.844 kB / 0.7204 GB, free: 87.04 MB / 0.5137 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.715158024802804] 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.257403931114823 18.265997813 17.88252442 Calling exit ...