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.00116/0.00116, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.0009054/0.0009054, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9844/0.9844, allocations: 177 MB / 205.9 MB, free: 4.414 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 274.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.094e-05, allocations: 4.094 kB / 274.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004642/0.004653, allocations: 6.411 MB / 280.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.007054, allocations: 1.71 MB / 282.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.007406, allocations: 27.88 kB / 282.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.007849, allocations: 257.8 kB / 282.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.008578, allocations: 0.5352 MB / 283.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.009407, allocations: 467.2 kB / 283.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004979/0.01439, allocations: 7.998 MB / 291.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.01615, allocations: 1.535 MB / 293.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.01995, allocations: 4.055 MB / 297.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.02277, allocations: 3.228 MB / 300.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005813/0.02335, allocations: 0.6602 MB / 301 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006014/0.02395, allocations: 0.6562 MB / 301.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009072/0.02486, allocations: 1.632 MB / 303.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.02661, allocations: 2.171 MB / 305.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.02964, allocations: 5.181 MB / 310.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.02964, allocations: 0 / 310.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.02964, allocations: 0 / 310.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.771e-05/0.02968, allocations: 0 / 310.7 MB, free: 15.55 MB / 298.7 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.005822/0.0355, allocations: 5.845 MB / 316.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.03553, allocations: 12.03 kB / 316.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.03632, allocations: 0.861 MB / 317.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.0385, allocations: 2.126 MB / 319.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.03865, allocations: 316.5 kB / 319.8 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/0.03907, allocations: 472.2 kB / 320.3 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.04247, allocations: 4.803 MB / 325.1 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.04252, allocations: 192 / 325.1 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.04278, allocations: 176.4 kB / 325.3 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.0429, allocations: 204.4 kB / 325.5 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.0449, allocations: 1.229 MB / 326.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.05763, allocations: 11.78 MB / 338.5 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/0.05985, allocations: 2.411 MB / 340.9 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.06115, allocations: 1.561 MB / 342.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.06125, allocations: 58.81 kB / 342.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.0613, allocations: 88.7 kB / 342.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=358): time 4.418e-06/0.06131, allocations: 4 kB / 342.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=358): time 0.002993/0.0643, allocations: 2.539 MB / 345.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.06439, allocations: 303.8 kB / 345.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.06628, allocations: 2.148 MB / 347.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.06642, allocations: 109.6 kB / 347.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008912/0.06731, allocations: 1.867 MB / 349.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006757/0.06799, allocations: 1.395 MB / 350.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007104/0.0687, allocations: 0.7237 MB / 351.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.0688, allocations: 480.8 kB / 352.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.06937, allocations: 439.2 kB / 352.6 MB, free: 4.355 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.07027, allocations: 1.099 MB / 353.7 MB, free: 3.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.07298, allocations: 2.636 MB / 356.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.07298, allocations: 0 / 356.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.1248/0.1978, allocations: 2.327 MB / 358.6 MB, free: 79.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.1979, allocations: 7.016 kB / 358.6 MB, free: 79.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.1979, allocations: 1.219 kB / 358.6 MB, free: 79.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008661/0.1987, allocations: 316.2 kB / 358.9 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.2009, allocations: 0.8627 MB / 359.8 MB, free: 79.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.2044, allocations: 8.52 MB / 368.3 MB, free: 72.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.206, allocations: 289.9 kB / 368.6 MB, free: 72.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.2061, allocations: 74.66 kB / 368.7 MB, free: 72.13 MB / 330.7 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.001403/0.2076, allocations: 361.8 kB / 369 MB, free: 71.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.208, allocations: 443.4 kB / 369.5 MB, free: 71.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.2083, allocations: 398.8 kB / 369.9 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.2084, allocations: 32.41 kB / 369.9 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.788e-05/0.2084, allocations: 7.094 kB / 369.9 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.2084, allocations: 19.39 kB / 369.9 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/0.2141, allocations: 5.901 MB / 375.8 MB, free: 70.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.2141, allocations: 15.2 kB / 375.8 MB, free: 70.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.2158, allocations: 0.7804 MB / 376.6 MB, free: 70.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.2162, allocations: 278.4 kB / 376.9 MB, free: 70.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.2164, allocations: 126.1 kB / 377 MB, free: 70.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002981/0.2194, allocations: 13.09 MB / 390.1 MB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/0.2194, allocations: 23.59 kB / 390.1 MB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.2221, allocations: 3.592 MB / 393.7 MB, free: 54.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.2225, allocations: 437.4 kB / 394.1 MB, free: 53.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.2227, allocations: 123.4 kB / 394.3 MB, free: 53.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.2239, allocations: 276.5 kB / 394.5 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.2241, allocations: 306.1 kB / 394.8 MB, free: 53.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.2242, allocations: 95.61 kB / 394.9 MB, free: 53.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007317/0.225, allocations: 1.143 MB / 396.1 MB, free: 52.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.225, allocations: 4 kB / 396.1 MB, free: 52.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001787/0.2267, allocations: 1.356 MB / 397.4 MB, free: 50.96 MB / 330.7 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.0002754/0.227, allocations: 287.9 kB / 397.7 MB, free: 50.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001943/0.229, allocations: 2.571 MB / 400.3 MB, free: 48.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.229, allocations: 6.656 kB / 400.3 MB, free: 48.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.2301, allocations: 2.228 MB / 402.5 MB, free: 45.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.2316, allocations: 0.6794 MB / 403.2 MB, free: 45.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008462/0.2401, allocations: 9.825 MB / 413 MB, free: 35.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.2408, allocations: 1.229 MB / 414.2 MB, free: 33.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009319/0.2417, allocations: 427 kB / 414.7 MB, free: 33.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/0.2433, allocations: 0.9782 MB / 415.6 MB, free: 32.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2433, allocations: 0 / 415.6 MB, free: 32.45 MB / 330.7 MB Notification: Performance of Templates: time 0.05624/0.2995, allocations: 53.43 MB / 469.1 MB, free: 11.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.43034736206755]