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.001316/0.001316, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001022/0.001022, allocations: 169.9 kB / 24.82 MB, free: 8.871 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 1.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.52 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 1.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.489e-05, allocations: 2.312 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004899/0.004914, allocations: 6.406 MB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.007038, allocations: 1.707 MB / 281.6 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.007321, allocations: 23.94 kB / 281.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.007773, allocations: 257.9 kB / 281.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006865/0.00846, allocations: 0.5429 MB / 282.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.008955, allocations: 467.3 kB / 282.8 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1635/0.1725, allocations: 8.003 MB / 290.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.1745, allocations: 1.537 MB / 292.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004633/0.1792, allocations: 4.053 MB / 296.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.1822, allocations: 3.223 MB / 299.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009098/0.1831, allocations: 0.6592 MB / 300.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000862/0.184, allocations: 0.6593 MB / 301 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009069/0.1849, allocations: 1.629 MB / 302.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.1864, allocations: 2.163 MB / 304.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.1889, allocations: 5.196 MB / 310 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1889, allocations: 0.5312 kB / 310 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1889, allocations: 0.625 kB / 310 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.1889, allocations: 0 / 310 MB, free: 10.45 MB / 266.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.004698/0.1936, allocations: 5.846 MB / 315.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1936, allocations: 8.031 kB / 315.8 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.1943, allocations: 0.8609 MB / 316.7 MB, free: 5.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.1958, allocations: 2.13 MB / 318.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.1959, allocations: 316.5 kB / 319.1 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/0.1963, allocations: 473.7 kB / 319.6 MB, free: 2.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.1993, allocations: 4.8 MB / 324.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.692e-05/0.1993, allocations: 4.188 kB / 324.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.1996, allocations: 180.5 kB / 324.6 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.1997, allocations: 201.1 kB / 324.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.2014, allocations: 1.225 MB / 326 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.2137, allocations: 11.79 MB / 337.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.2157, allocations: 2.392 MB / 340.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.2169, allocations: 1.57 MB / 341.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/0.217, allocations: 66.81 kB / 341.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.2171, allocations: 88.7 kB / 341.9 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 4.308e-06/0.2171, allocations: 4 kB / 341.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.003104/0.2202, allocations: 2.531 MB / 344.4 MB, free: 10.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/0.2203, allocations: 291.8 kB / 344.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.2219, allocations: 2.163 MB / 346.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.2221, allocations: 105.7 kB / 347 MB, free: 7.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008394/0.2229, allocations: 1.865 MB / 348.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009313/0.2238, allocations: 1.395 MB / 350.2 MB, free: 4.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006864/0.2245, allocations: 0.7236 MB / 350.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2246, allocations: 484.7 kB / 351.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.2252, allocations: 441.9 kB / 351.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008804/0.2261, allocations: 1.091 MB / 352.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.2285, allocations: 2.643 MB / 355.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.2285, allocations: 0 / 355.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.002816/0.2314, allocations: 2.328 MB / 357.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2314, allocations: 4 kB / 357.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2314, allocations: 0 / 357.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.2321, allocations: 322 kB / 358.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.2337, allocations: 0.8722 MB / 359.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.238, allocations: 8.531 MB / 367.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.2392, allocations: 293.6 kB / 367.9 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.2393, allocations: 72 kB / 368 MB, free: 2.414 MB / 314.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.001036/0.2403, allocations: 354.2 kB / 368.3 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/0.2407, allocations: 438.2 kB / 368.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.2411, allocations: 405.7 kB / 369.2 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.2411, allocations: 39.94 kB / 369.2 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.039e-05/0.2411, allocations: 0 / 369.2 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.2411, allocations: 21 kB / 369.2 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/0.2479, allocations: 5.887 MB / 375.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.2479, allocations: 12 kB / 375.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.2496, allocations: 0.788 MB / 375.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.25, allocations: 281.7 kB / 376.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.2502, allocations: 131.9 kB / 376.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/0.2554, allocations: 13.07 MB / 389.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.2554, allocations: 24.12 kB / 389.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.2591, allocations: 3.606 MB / 393 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.2597, allocations: 432.6 kB / 393.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.26, allocations: 123.9 kB / 393.6 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.2611, allocations: 279.8 kB / 393.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.2614, allocations: 309.5 kB / 394.1 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.2615, allocations: 95.98 kB / 394.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009777/0.2625, allocations: 1.145 MB / 395.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2625, allocations: 0 / 395.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002281/0.2648, allocations: 1.357 MB / 396.7 MB, free: 4.074 MB / 346.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.0003406/0.2651, allocations: 293.1 kB / 397 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.2676, allocations: 2.574 MB / 399.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.2676, allocations: 6.656 kB / 399.6 MB, free: 1.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.2693, allocations: 2.22 MB / 401.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.2709, allocations: 0.681 MB / 402.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009744/0.2807, allocations: 9.835 MB / 412.3 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/0.2815, allocations: 1.229 MB / 413.6 MB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00123/0.2827, allocations: 423 kB / 414 MB, free: 2.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.2843, allocations: 0.982 MB / 415 MB, free: 1.262 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.2844, allocations: 4 kB / 415 MB, free: 1.258 MB / 362.7 MB Notification: Performance of Templates: time 0.1491/0.4335, allocations: 52.2 MB / 467.2 MB, free: 100.6 MB / 378.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.114388016983867]