Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9598/0.9598, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 3.984 kB / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.352e-05, allocations: 6.25 kB / 274.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.00465/0.004674, allocations: 6.392 MB / 280.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.006478, allocations: 1.722 MB / 282.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.006753, allocations: 23.94 kB / 282.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.007178, allocations: 253.9 kB / 282.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.007794, allocations: 0.5429 MB / 283.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.00828, allocations: 463.2 kB / 283.6 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00429/0.01257, allocations: 7.994 MB / 291.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.0138, allocations: 1.543 MB / 293.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.01661, allocations: 4.055 MB / 297.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.01924, allocations: 3.232 MB / 300.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.02038, allocations: 0.6602 MB / 301.1 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006673/0.02105, allocations: 0.6602 MB / 301.8 MB, free: 8.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.02209, allocations: 1.624 MB / 303.4 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.02383, allocations: 2.16 MB / 305.6 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.02829, allocations: 5.196 MB / 310.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.0283, allocations: 0 / 310.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0283, allocations: 0 / 310.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.479e-05/0.02835, allocations: 0 / 310.7 MB, free: 15.68 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.007179/0.03553, allocations: 5.838 MB / 316.6 MB, free: 9.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.03558, allocations: 15.98 kB / 316.6 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009784/0.03656, allocations: 0.861 MB / 317.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.03884, allocations: 2.122 MB / 319.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.03902, allocations: 320.5 kB / 319.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004829/0.0395, allocations: 476.2 kB / 320.4 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004587/0.04409, allocations: 4.795 MB / 325.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.04414, allocations: 8.109 kB / 325.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.04443, allocations: 176.4 kB / 325.3 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001515/0.04458, allocations: 200.4 kB / 325.5 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.04641, allocations: 1.233 MB / 326.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.06084, allocations: 11.79 MB / 338.6 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.06279, allocations: 2.402 MB / 341 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.06408, allocations: 1.564 MB / 342.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.845e-05/0.06418, allocations: 58.81 kB / 342.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.06423, allocations: 96.7 kB / 342.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=358): time 4.629e-06/0.06424, allocations: 0 / 342.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=358): time 0.003519/0.06776, allocations: 2.535 MB / 345.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.06785, allocations: 299.8 kB / 345.5 MB, free: 11.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.06947, allocations: 2.148 MB / 347.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.06962, allocations: 105.7 kB / 347.8 MB, free: 9.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008692/0.07049, allocations: 1.867 MB / 349.6 MB, free: 7.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009307/0.07142, allocations: 1.399 MB / 351 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006996/0.07212, allocations: 0.7198 MB / 351.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.07221, allocations: 480.8 kB / 352.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.07277, allocations: 435.2 kB / 352.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.07364, allocations: 1.099 MB / 353.7 MB, free: 3.297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.07599, allocations: 2.636 MB / 356.4 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.076, allocations: 0 / 356.4 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.1186/0.1946, allocations: 2.329 MB / 358.7 MB, free: 79.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1946, allocations: 6.312 kB / 358.7 MB, free: 79.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1946, allocations: 1.938 kB / 358.7 MB, free: 79.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007695/0.1954, allocations: 314.1 kB / 359 MB, free: 79.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.1974, allocations: 0.8613 MB / 359.9 MB, free: 79.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003103/0.2005, allocations: 8.525 MB / 368.4 MB, free: 72.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.202, allocations: 289.8 kB / 368.7 MB, free: 72.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.2022, allocations: 76.53 kB / 368.8 MB, free: 72.18 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.001121/0.2033, allocations: 360.6 kB / 369.1 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006561/0.204, allocations: 440.7 kB / 369.5 MB, free: 71.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.2044, allocations: 397.5 kB / 369.9 MB, free: 71.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.2044, allocations: 35.19 kB / 370 MB, free: 71.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/0.2044, allocations: 3.719 kB / 370 MB, free: 71.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.649e-05/0.2044, allocations: 18.84 kB / 370 MB, free: 71.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006931/0.2114, allocations: 5.904 MB / 375.9 MB, free: 70.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.2114, allocations: 14.06 kB / 375.9 MB, free: 70.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.2132, allocations: 0.784 MB / 376.7 MB, free: 70.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005513/0.2137, allocations: 274.2 kB / 377 MB, free: 70.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.2139, allocations: 129 kB / 377.1 MB, free: 70.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003491/0.2174, allocations: 13.08 MB / 390.2 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/0.2174, allocations: 24.09 kB / 390.2 MB, free: 57.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.2215, allocations: 3.59 MB / 393.8 MB, free: 54.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/0.2223, allocations: 442.6 kB / 394.2 MB, free: 53.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/0.2227, allocations: 122.9 kB / 394.3 MB, free: 53.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.224, allocations: 279.1 kB / 394.6 MB, free: 53.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/0.2243, allocations: 313.7 kB / 394.9 MB, free: 53.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.2245, allocations: 91.61 kB / 395 MB, free: 53.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009385/0.2254, allocations: 1.146 MB / 396.1 MB, free: 52.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2254, allocations: 0 / 396.1 MB, free: 52.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002435/0.2278, allocations: 1.352 MB / 397.5 MB, free: 51.19 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.0004111/0.2283, allocations: 302.8 kB / 397.8 MB, free: 50.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.2309, allocations: 2.561 MB / 400.3 MB, free: 48.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.2309, allocations: 14.84 kB / 400.4 MB, free: 48.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.2323, allocations: 2.219 MB / 402.6 MB, free: 46.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.2345, allocations: 0.688 MB / 403.3 MB, free: 45.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.2446, allocations: 9.822 MB / 413.1 MB, free: 35.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.2454, allocations: 1.229 MB / 414.3 MB, free: 34.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001438/0.2469, allocations: 423 kB / 414.7 MB, free: 33.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.2484, allocations: 0.9782 MB / 415.7 MB, free: 32.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2484, allocations: 0 / 415.7 MB, free: 32.69 MB / 330.7 MB Notification: Performance of Templates: time 0.07521/0.3236, allocations: 53.44 MB / 469.1 MB, free: 12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.23258772585541]