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.001198/0.001198, allocations: 105.5 kB / 19.74 MB, free: 2.453 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.001382/0.001382, allocations: 221.6 kB / 22.92 MB, free: 5.195 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.277/1.277, allocations: 230.5 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] 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.001837/0.001837, allocations: 75.81 kB / 376.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2069, allocations: 53.31 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007008/0.2139, allocations: 6.73 MB / 436.2 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2165, allocations: 1.715 MB / 437.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.2168, allocations: 23.94 kB / 437.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.2174, allocations: 261.9 kB / 438.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008747/0.2182, allocations: 0.5044 MB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.2189, allocations: 455.2 kB / 439.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006547/0.2255, allocations: 7.779 MB / 446.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.2274, allocations: 1.577 MB / 448.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.2303, allocations: 2.735 MB / 451.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.2337, allocations: 2.903 MB / 454.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008307/0.2345, allocations: 0.6562 MB / 454.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2355, allocations: 0.6562 MB / 455.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.237, allocations: 1.597 MB / 457 MB, free: 11.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00307/0.24, allocations: 2.949 MB / 460 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006774/0.2468, allocations: 8.231 MB / 468.2 MB, free: 480 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2468, allocations: 7.984 kB / 468.2 MB, free: 472 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2468, allocations: 0 / 468.2 MB, free: 472 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.865e-05/0.2469, allocations: 4 kB / 468.2 MB, free: 468 kB / 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.01093/0.2578, allocations: 6.032 MB / 474.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2579, allocations: 12.03 kB / 474.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000757/0.2586, allocations: 0.588 MB / 474.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.2595, allocations: 0.5446 MB / 475.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/0.2633, allocations: 2.664 MB / 478.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.2635, allocations: 312.5 kB / 478.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006326/0.2642, allocations: 444.2 kB / 478.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009556/0.2737, allocations: 6.315 MB / 485.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/0.2738, allocations: 0 / 485.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004148/0.2742, allocations: 176 kB / 485.3 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.2744, allocations: 200.5 kB / 485.5 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009677/0.284, allocations: 5.549 MB / 491 MB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0355/0.3195, allocations: 18.61 MB / 0.4977 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006918/0.3265, allocations: 4.342 MB / 0.5019 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004346/0.3308, allocations: 3.354 MB / 0.5052 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.3309, allocations: 38.81 kB / 0.5052 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.198e-05/0.331, allocations: 89.94 kB / 0.5053 GB, free: 14.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 5.039e-06/0.331, allocations: 0 / 0.5053 GB, free: 14.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.009884/0.3409, allocations: 6.443 MB / 0.5116 GB, free: 7.891 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.3411, allocations: 295.8 kB / 0.5119 GB, free: 7.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004958/0.346, allocations: 3.205 MB / 0.515 GB, free: 4.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003069/0.3463, allocations: 105.7 kB / 0.5151 GB, free: 4.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.3476, allocations: 1.711 MB / 0.5168 GB, free: 2.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.3487, allocations: 1.332 MB / 0.5181 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.3498, allocations: 0.642 MB / 0.5187 GB, free: 492 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3499, allocations: 305.1 kB / 0.519 GB, free: 184 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/0.353, allocations: 2.127 MB / 0.5211 GB, free: 14.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003311/0.3563, allocations: 2.459 MB / 0.5235 GB, free: 11.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/0.372, allocations: 9.159 MB / 0.5324 GB, free: 2.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.372, allocations: 0 / 0.5324 GB, free: 2.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.1764/0.5484, allocations: 5.599 MB / 0.5379 GB, free: 98.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5484, allocations: 7.875 kB / 0.5379 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5484, allocations: 0.6094 kB / 0.5379 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/0.5493, allocations: 335.1 kB / 0.5382 GB, free: 98.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/0.5525, allocations: 0.9123 MB / 0.5391 GB, free: 98.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/0.5575, allocations: 7.842 MB / 0.5468 GB, free: 91.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.5603, allocations: 409.7 kB / 0.5472 GB, free: 91.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.5605, allocations: 102.8 kB / 0.5473 GB, free: 91.79 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.001976/0.5625, allocations: 1.417 MB / 0.5487 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/0.563, allocations: 348.9 kB / 0.549 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.5638, allocations: 448.8 kB / 0.5494 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5638, allocations: 31.5 kB / 0.5494 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/0.5638, allocations: 7.938 kB / 0.5495 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.5639, allocations: 15.23 kB / 0.5495 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.5755, allocations: 12 MB / 0.5612 GB, free: 84.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.5755, allocations: 16.19 kB / 0.5612 GB, free: 84.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/0.5786, allocations: 0.8146 MB / 0.562 GB, free: 83.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005571/0.5791, allocations: 289.4 kB / 0.5623 GB, free: 83.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/0.5793, allocations: 127.9 kB / 0.5624 GB, free: 83.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/0.5839, allocations: 11.02 MB / 0.5732 GB, free: 71.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.5839, allocations: 23.92 kB / 0.5732 GB, free: 71.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/0.591, allocations: 7.142 MB / 0.5802 GB, free: 63.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008389/0.5918, allocations: 0.5611 MB / 0.5807 GB, free: 63.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/0.5922, allocations: 129.5 kB / 0.5808 GB, free: 63.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/0.5948, allocations: 415.6 kB / 0.5812 GB, free: 62.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.5952, allocations: 281.6 kB / 0.5815 GB, free: 62.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.5953, allocations: 120 kB / 0.5816 GB, free: 62.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002249/0.5976, allocations: 2.279 MB / 0.5838 GB, free: 60.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5976, allocations: 0 / 0.5838 GB, free: 60.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002569/0.6002, allocations: 1.336 MB / 0.5851 GB, free: 58.85 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.006872/0.607, allocations: 7.889 MB / 0.5928 GB, free: 50.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005281/0.6123, allocations: 4.952 MB / 0.5977 GB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.6123, allocations: 10.56 kB / 0.5977 GB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.6153, allocations: 3.234 MB / 0.6008 GB, free: 42.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002967/0.6183, allocations: 0.8029 MB / 0.6016 GB, free: 41.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03796/0.6563, allocations: 38.22 MB / 0.6389 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/0.6586, allocations: 3.214 MB / 0.6421 GB, free: 15.28 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002908/0.6615, allocations: 1.297 MB / 0.6434 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002127/0.6636, allocations: 1.601 MB / 0.6449 GB, free: 12.38 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6636, allocations: 0 / 0.6449 GB, free: 12.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1684/0.8321, allocations: 79.1 MB / 0.7222 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.13, allocations: 3.781 kB / 0.7222 GB, free: 14.11 MB / 0.5294 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --timeout=50 --tolerance=1e-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: 18.23059333999845]