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.001074/0.001074, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001042/0.001042, allocations: 167.3 kB / 24.91 MB, free: 9.109 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.9862/0.9862, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.713e-06/1.713e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.393e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007768/0.007792, allocations: 6.458 MB / 280 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.01246, allocations: 1.78 MB / 281.8 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/0.01341, allocations: 27.88 kB / 281.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007118/0.01412, allocations: 253.9 kB / 282.1 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.0156, allocations: 0.5352 MB / 282.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.01638, allocations: 471.1 kB / 283 MB, free: 7.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1226/0.139, allocations: 8.026 MB / 291.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/0.1415, allocations: 1.584 MB / 292.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/0.1473, allocations: 4.053 MB / 296.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005349/0.1527, allocations: 3.226 MB / 299.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002229/0.1549, allocations: 0.6586 MB / 300.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.157, allocations: 0.6589 MB / 301.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.1584, allocations: 1.632 MB / 302.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003921/0.1623, allocations: 2.158 MB / 305 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.1668, allocations: 5.188 MB / 310.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1668, allocations: 0 / 310.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1668, allocations: 0 / 310.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002369/0.167, allocations: 1.125 kB / 310.2 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.006731/0.1738, allocations: 5.34 MB / 315.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.1738, allocations: 12.03 kB / 315.6 MB, free: 6.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.1746, allocations: 0.6995 MB / 316.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.1764, allocations: 1.421 MB / 317.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1765, allocations: 312.5 kB / 318 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.1769, allocations: 474.5 kB / 318.5 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.1803, allocations: 4.871 MB / 323.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/0.1804, allocations: 192 / 323.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.1806, allocations: 176.6 kB / 323.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.1808, allocations: 207.4 kB / 323.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.1827, allocations: 1.034 MB / 324.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01494/0.1977, allocations: 9.795 MB / 334.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.2, allocations: 2.175 MB / 336.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.2014, allocations: 1.415 MB / 338.1 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.2015, allocations: 62.81 kB / 338.2 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.424e-05/0.2016, allocations: 81.88 kB / 338.3 MB, free: 384 kB / 282.7 MB Notification: Performance of pre-optimization done (n=358): time 5.3e-06/0.2016, allocations: 0 / 338.3 MB, free: 384 kB / 282.7 MB Notification: Performance of matching and sorting (n=358): time 0.004578/0.2062, allocations: 2.001 MB / 340.3 MB, free: 14.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.2063, allocations: 299.8 kB / 340.6 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/0.2087, allocations: 1.637 MB / 342.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002772/0.2089, allocations: 105.7 kB / 342.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000879/0.2098, allocations: 1.368 MB / 343.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.2109, allocations: 1.309 MB / 345 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000887/0.2118, allocations: 0.5923 MB / 345.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.2119, allocations: 301.1 kB / 345.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007963/0.2127, allocations: 371.4 kB / 346.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.2138, allocations: 0.8988 MB / 347.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003423/0.2172, allocations: 2.476 MB / 349.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.2172, allocations: 0 / 349.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.003249/0.2205, allocations: 1.745 MB / 351.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.2205, allocations: 11.98 kB / 351.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2205, allocations: 96 / 351.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/0.2214, allocations: 290.9 kB / 351.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.2249, allocations: 1.251 MB / 352.9 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.229, allocations: 5.946 MB / 358.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.2308, allocations: 293.7 kB / 359.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.231, allocations: 72 kB / 359.2 MB, free: 11.58 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.001239/0.2322, allocations: 314.5 kB / 359.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/0.2328, allocations: 343.6 kB / 359.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.2333, allocations: 401.8 kB / 360.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.2333, allocations: 32 kB / 360.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-05/0.2334, allocations: 4 kB / 360.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.2334, allocations: 15.94 kB / 360.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007359/0.2407, allocations: 4.504 MB / 364.8 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.2408, allocations: 16 kB / 364.8 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/0.244, allocations: 1.161 MB / 366 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/0.2446, allocations: 249.8 kB / 366.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.2449, allocations: 119.9 kB / 366.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.2495, allocations: 8.933 MB / 375.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/0.2495, allocations: 23.88 kB / 375.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/0.2538, allocations: 2.925 MB / 378.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/0.2545, allocations: 337.2 kB / 378.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004062/0.2549, allocations: 123.9 kB / 378.7 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.2565, allocations: 283.8 kB / 379 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000447/0.2569, allocations: 297.4 kB / 379.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.2571, allocations: 95.98 kB / 379.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.2582, allocations: 0.8519 MB / 380.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2582, allocations: 0 / 380.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002763/0.261, allocations: 1.357 MB / 381.5 MB, free: 4.027 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.0004223/0.2614, allocations: 278.3 kB / 381.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.2644, allocations: 2.127 MB / 383.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.672e-05/0.2644, allocations: 32.47 kB / 384 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001353/0.2657, allocations: 1.714 MB / 385.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.268, allocations: 0.6987 MB / 386.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009818/0.2778, allocations: 8.307 MB / 394.7 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000833/0.2787, allocations: 1.015 MB / 395.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00148/0.2801, allocations: 428 kB / 396.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001852/0.282, allocations: 0.9247 MB / 397 MB, free: 4.047 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.282, allocations: 0 / 397 MB, free: 4.047 MB / 346.7 MB Notification: Performance of Templates: time 0.1744/0.4564, allocations: 54.51 MB / 451.6 MB, free: 114.8 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 -s gbode -gbm=radauIIA3 -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.1416270500048995]