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.0008891/0.0008891, 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.0008786/0.0008786, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9237/0.9237, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.393e-06/1.393e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.348e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.004527/0.004541, allocations: 6.41 MB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.006888, allocations: 1.78 MB / 281.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/0.007272, allocations: 27.88 kB / 281.7 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.007716, allocations: 257.8 kB / 282 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.008438, allocations: 0.543 MB / 282.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.008973, allocations: 467.2 kB / 283 MB, free: 7.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09903/0.108, allocations: 8.023 MB / 291 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.1098, allocations: 1.583 MB / 292.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.1138, allocations: 4.057 MB / 296.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.1173, allocations: 3.221 MB / 299.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.1185, allocations: 0.661 MB / 300.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008257/0.1193, allocations: 0.6587 MB / 301.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008456/0.1202, allocations: 1.633 MB / 302.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.1216, allocations: 2.159 MB / 305 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.1239, allocations: 5.187 MB / 310.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1239, allocations: 0 / 310.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1239, allocations: 1.062 kB / 310.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.124, allocations: 7.188 kB / 310.2 MB, free: 10.54 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.004483/0.1285, allocations: 5.342 MB / 315.5 MB, free: 7.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1285, allocations: 8.031 kB / 315.5 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006495/0.1291, allocations: 0.6917 MB / 316.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1306, allocations: 1.42 MB / 317.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.1307, allocations: 318.7 kB / 317.9 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003852/0.1311, allocations: 475.2 kB / 318.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.1339, allocations: 4.877 MB / 323.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.134, allocations: 4.125 kB / 323.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.1343, allocations: 172.6 kB / 323.4 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.1344, allocations: 204.4 kB / 323.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.1359, allocations: 1.035 MB / 324.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.1468, allocations: 9.783 MB / 334.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.1486, allocations: 2.182 MB / 336.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.1497, allocations: 1.415 MB / 338.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.1498, allocations: 66.17 kB / 338.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.1499, allocations: 85.88 kB / 338.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=358): time 4.569e-06/0.1499, allocations: 0 / 338.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of matching and sorting (n=358): time 0.002588/0.1525, allocations: 1.983 MB / 340.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1526, allocations: 299.8 kB / 340.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.1539, allocations: 1.65 MB / 342.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.154, allocations: 101.7 kB / 342.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.1545, allocations: 1.368 MB / 343.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.1551, allocations: 1.305 MB / 344.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/0.1557, allocations: 0.5961 MB / 345.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.1557, allocations: 305.1 kB / 345.8 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.1564, allocations: 367.4 kB / 346.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007365/0.1571, allocations: 0.8952 MB / 347 MB, free: 8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.1593, allocations: 2.476 MB / 349.5 MB, free: 5.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.1593, allocations: 4 kB / 349.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.001996/0.1613, allocations: 1.745 MB / 351.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1613, allocations: 4 kB / 351.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1614, allocations: 4 kB / 351.3 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/0.1619, allocations: 296.5 kB / 351.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.1636, allocations: 0.8593 MB / 352.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.1665, allocations: 5.935 MB / 358.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/0.1673, allocations: 293.6 kB / 358.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.1675, allocations: 76 kB / 358.7 MB, free: 12.07 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.000561/0.168, allocations: 312.4 kB / 359 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.1684, allocations: 335.7 kB / 359.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.1687, allocations: 401.8 kB / 359.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.1687, allocations: 32 kB / 359.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.1687, allocations: 4 kB / 359.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.1687, allocations: 19.88 kB / 359.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004935/0.1737, allocations: 4.503 MB / 364.3 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.1737, allocations: 12 kB / 364.3 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/0.1754, allocations: 0.7893 MB / 365.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003908/0.1758, allocations: 249.8 kB / 365.4 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.176, allocations: 127.9 kB / 365.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/0.1793, allocations: 8.894 MB / 374.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.1793, allocations: 27.81 kB / 374.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.1821, allocations: 2.918 MB / 377.3 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.1824, allocations: 337.2 kB / 377.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003011/0.1827, allocations: 127.9 kB / 377.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.1838, allocations: 283.8 kB / 378.1 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.184, allocations: 297.5 kB / 378.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.1842, allocations: 95.97 kB / 378.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006998/0.1849, allocations: 0.8519 MB / 379.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1849, allocations: 0 / 379.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001716/0.1866, allocations: 1.353 MB / 380.6 MB, free: 4.91 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.0003136/0.1869, allocations: 281 kB / 380.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.189, allocations: 2.131 MB / 383 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-05/0.189, allocations: 36.47 kB / 383.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.1901, allocations: 1.706 MB / 384.8 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.1917, allocations: 0.6714 MB / 385.5 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.1991, allocations: 8.31 MB / 393.8 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.1998, allocations: 1.01 MB / 394.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008466/0.2006, allocations: 427 kB / 395.2 MB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/0.2024, allocations: 0.8817 MB / 396.1 MB, free: 5 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2024, allocations: 0 / 396.1 MB, free: 5 MB / 346.7 MB Notification: Performance of Templates: time 0.1357/0.3381, allocations: 52.13 MB / 448.2 MB, free: 117 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: 3.755300677847117]