Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001283/0.001283, allocations: 116.4 kB / 18.5 MB, free: 4.574 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.001345/0.001345, allocations: 208.9 kB / 21.46 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 373.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1182, allocations: 53.31 MB / 426.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.2706/0.3888, allocations: 6.718 MB / 433.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.3925, allocations: 1.717 MB / 435.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000672/0.3932, allocations: 20.34 kB / 435.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.3938, allocations: 249.6 kB / 435.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.395, allocations: 0.5158 MB / 435.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009866/0.396, allocations: 440.1 kB / 436.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008503/0.4045, allocations: 7.811 MB / 444.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.4077, allocations: 2.19 MB / 446.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/0.4131, allocations: 2.74 MB / 449.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007248/0.4203, allocations: 2.898 MB / 452 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002333/0.4226, allocations: 0.6587 MB / 452.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003633/0.4263, allocations: 0.6581 MB / 453.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003581/0.4298, allocations: 1.587 MB / 454.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01162/0.4415, allocations: 2.959 MB / 457.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.4558, allocations: 8.242 MB / 466.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.4558, allocations: 0 / 466.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4558, allocations: 0 / 466.1 MB, free: 7.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003636/0.4562, allocations: 0 / 466.1 MB, free: 7.762 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.0213/0.4775, allocations: 6.031 MB / 472.1 MB, free: 3.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4775, allocations: 8.031 kB / 472.1 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001822/0.4794, allocations: 0.5919 MB / 472.7 MB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.481, allocations: 0.5484 MB / 473.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007755/0.4888, allocations: 2.664 MB / 475.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.4891, allocations: 313.5 kB / 476.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.4908, allocations: 452.2 kB / 476.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/0.5085, allocations: 6.307 MB / 483 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.5086, allocations: 9.062 kB / 483 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007766/0.5094, allocations: 174.4 kB / 483.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.5096, allocations: 200.5 kB / 483.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/0.524, allocations: 5.545 MB / 488.9 MB, free: 2.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05057/0.5746, allocations: 18.6 MB / 0.4956 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009061/0.5837, allocations: 4.35 MB / 0.4999 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005581/0.5892, allocations: 3.342 MB / 0.5031 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.5894, allocations: 42.75 kB / 0.5032 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.5895, allocations: 85.94 kB / 0.5032 GB, free: 7.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 5.119e-06/0.5895, allocations: 0 / 0.5032 GB, free: 7.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.01221/0.6017, allocations: 6.435 MB / 0.5095 GB, free: 1.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/0.6019, allocations: 299.8 kB / 0.5098 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006472/0.6084, allocations: 3.213 MB / 0.513 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009925/0.6094, allocations: 101.7 kB / 0.5131 GB, free: 13.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001784/0.6112, allocations: 1.719 MB / 0.5147 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/0.613, allocations: 1.321 MB / 0.516 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.6143, allocations: 0.6459 MB / 0.5167 GB, free: 9.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6144, allocations: 305.1 kB / 0.5169 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/0.618, allocations: 2.125 MB / 0.519 GB, free: 7.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/0.6221, allocations: 2.461 MB / 0.5214 GB, free: 4.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/0.6409, allocations: 9.155 MB / 0.5304 GB, free: 11.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.6409, allocations: 0 / 0.5304 GB, free: 11.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01129/0.6522, allocations: 5.607 MB / 0.5358 GB, free: 5.945 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.6523, allocations: 7.938 kB / 0.5358 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.6523, allocations: 4 kB / 0.5358 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.6534, allocations: 327.7 kB / 0.5362 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.6575, allocations: 0.9128 MB / 0.5371 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/0.666, allocations: 7.838 MB / 0.5447 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004162/0.6701, allocations: 405.2 kB / 0.5451 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007208/0.6709, allocations: 108 kB / 0.5452 GB, free: 11.8 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.003662/0.6745, allocations: 1.417 MB / 0.5466 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/0.6757, allocations: 353.9 kB / 0.5469 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009235/0.6767, allocations: 452.2 kB / 0.5473 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.6767, allocations: 32 kB / 0.5474 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.755e-05/0.6767, allocations: 4 kB / 0.5474 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.747e-05/0.6768, allocations: 15.94 kB / 0.5474 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/0.7002, allocations: 12 MB / 0.5591 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/0.7002, allocations: 20.06 kB / 0.5591 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/0.7038, allocations: 0.7997 MB / 0.5599 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008939/0.7047, allocations: 287.1 kB / 0.5602 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/0.7052, allocations: 127.9 kB / 0.5603 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009981/0.7151, allocations: 11.04 MB / 0.5711 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/0.7152, allocations: 15.94 kB / 0.5711 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.7282, allocations: 7.151 MB / 0.5781 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/0.7304, allocations: 0.5606 MB / 0.5786 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008727/0.7312, allocations: 127.9 kB / 0.5788 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/0.7343, allocations: 412.6 kB / 0.5792 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000578/0.7349, allocations: 281.6 kB / 0.5794 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003504/0.7352, allocations: 120 kB / 0.5795 GB, free: 6.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003903/0.7391, allocations: 2.279 MB / 0.5818 GB, free: 4.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7391, allocations: 0 / 0.5818 GB, free: 4.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005159/0.7443, allocations: 1.337 MB / 0.5831 GB, free: 3.32 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.01194/0.7562, allocations: 7.882 MB / 0.5908 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00889/0.7651, allocations: 4.952 MB / 0.5956 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.852e-05/0.7651, allocations: 10.56 kB / 0.5956 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/0.77, allocations: 3.232 MB / 0.5988 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/0.7746, allocations: 0.8117 MB / 0.5996 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3027/1.077, allocations: 38.15 MB / 0.6368 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/1.081, allocations: 3.223 MB / 0.64 GB, free: 156.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00394/1.085, allocations: 1.292 MB / 0.6412 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002389/1.087, allocations: 1.596 MB / 0.6428 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of SimCode: time 1.803e-06/1.087, allocations: 0 / 0.6428 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/1.22, allocations: 79.02 MB / 0.72 GB, free: 86.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/18.9, allocations: 10.75 kB / 0.72 GB, free: 86.23 MB / 0.5137 GB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks_fmu --startTime=0 --stopTime=0.004 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_CompareLineTrunks.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.465082296170294] Failed to read output from testmodel.py, exit status != 0: 19.037992910016328 19.056254697 18.596679346 Calling exit ...