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.0009506/0.0009506, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001072/0.001072, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9808/0.9808, allocations: 177 MB / 205.2 MB, free: 5.059 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.203e-06/1.203e-06, allocations: 0 / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.353e-05, allocations: 5.266 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004638/0.004652, allocations: 6.415 MB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.006916, allocations: 1.772 MB / 281.6 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.007223, allocations: 27.88 kB / 281.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.007647, allocations: 257.8 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.008322, allocations: 0.5391 MB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.008851, allocations: 463.3 kB / 282.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1086/0.1175, allocations: 8.023 MB / 290.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.1195, allocations: 1.588 MB / 292.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004764/0.1243, allocations: 4.05 MB / 296.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/0.1278, allocations: 3.222 MB / 299.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008913/0.1287, allocations: 0.6598 MB / 300.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008709/0.1295, allocations: 0.6587 MB / 301.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.1306, allocations: 1.632 MB / 302.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.1325, allocations: 2.159 MB / 304.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.1357, allocations: 5.192 MB / 310.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1357, allocations: 1.781 kB / 310.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1357, allocations: 0 / 310.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.908e-05/0.1357, allocations: 0 / 310.1 MB, free: 10.38 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.006078/0.1418, allocations: 5.344 MB / 315.4 MB, free: 6.793 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1418, allocations: 12.03 kB / 315.4 MB, free: 6.781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008425/0.1427, allocations: 0.6878 MB / 316.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.1446, allocations: 1.422 MB / 317.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.1447, allocations: 316.5 kB / 317.9 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005075/0.1453, allocations: 474.9 kB / 318.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003826/0.1491, allocations: 4.873 MB / 323.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.064e-05/0.1491, allocations: 9.375 kB / 323.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.1495, allocations: 172.6 kB / 323.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.1497, allocations: 204.4 kB / 323.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.1518, allocations: 1.031 MB / 324.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.1663, allocations: 9.794 MB / 334.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.1687, allocations: 2.183 MB / 336.6 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.1703, allocations: 1.415 MB / 338 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.1704, allocations: 58.81 kB / 338 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.357e-05/0.1704, allocations: 85.88 kB / 338.1 MB, free: 252 kB / 282.7 MB Notification: Performance of pre-optimization done (n=358): time 6.192e-06/0.1704, allocations: 0 / 338.1 MB, free: 252 kB / 282.7 MB Notification: Performance of matching and sorting (n=358): time 0.00336/0.1738, allocations: 1.993 MB / 340.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.1739, allocations: 299.1 kB / 340.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.1756, allocations: 1.643 MB / 342.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001928/0.1758, allocations: 101.7 kB / 342.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/0.1764, allocations: 1.371 MB / 343.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005852/0.177, allocations: 1.311 MB / 344.8 MB, free: 9.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.1776, allocations: 0.5915 MB / 345.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.1777, allocations: 305.1 kB / 345.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.1782, allocations: 375.4 kB / 346.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.1789, allocations: 0.8866 MB / 347 MB, free: 7.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.1812, allocations: 2.477 MB / 349.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.1812, allocations: 0 / 349.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.00205/0.1832, allocations: 1.757 MB / 351.2 MB, free: 3.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1833, allocations: 4 kB / 351.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1833, allocations: 0 / 351.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.184, allocations: 283.2 kB / 351.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/0.1857, allocations: 0.8707 MB / 352.4 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/0.1886, allocations: 5.935 MB / 358.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.1895, allocations: 293.6 kB / 358.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.1896, allocations: 80 kB / 358.7 MB, free: 11.83 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.0005713/0.1902, allocations: 306.3 kB / 359 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.1906, allocations: 335.6 kB / 359.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.1909, allocations: 401.8 kB / 359.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1909, allocations: 36 kB / 359.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.1909, allocations: 4 kB / 359.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.191, allocations: 23.86 kB / 359.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004989/0.196, allocations: 4.496 MB / 364.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.196, allocations: 16.03 kB / 364.3 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.1978, allocations: 0.7885 MB / 365.1 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/0.1983, allocations: 249.9 kB / 365.3 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.1984, allocations: 127.9 kB / 365.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003347/0.2018, allocations: 8.891 MB / 374.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.2018, allocations: 27.81 kB / 374.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.2044, allocations: 2.922 MB / 377.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.2047, allocations: 337.2 kB / 377.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.205, allocations: 128.2 kB / 377.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.206, allocations: 279.8 kB / 378 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002751/0.2063, allocations: 301.5 kB / 378.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.2064, allocations: 95.98 kB / 378.4 MB, free: 6.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006772/0.2071, allocations: 0.8558 MB / 379.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2071, allocations: 0 / 379.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001805/0.2089, allocations: 1.353 MB / 380.6 MB, free: 4.684 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.0003146/0.2092, allocations: 283.2 kB / 380.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2111, allocations: 2.127 MB / 383 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.048e-05/0.2112, allocations: 36.47 kB / 383 MB, free: 2.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.2123, allocations: 1.702 MB / 384.7 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.214, allocations: 0.6769 MB / 385.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00791/0.2219, allocations: 8.301 MB / 393.7 MB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.2226, allocations: 1.01 MB / 394.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008691/0.2235, allocations: 423 kB / 395.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/0.2251, allocations: 0.8856 MB / 396 MB, free: 4.789 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2251, allocations: 0 / 396 MB, free: 4.789 MB / 346.7 MB Notification: Performance of Templates: time 0.1492/0.3743, allocations: 52.13 MB / 448.1 MB, free: 116.7 MB / 378.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: 3.9389843638055027]