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.001356/0.001356, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001597/0.001597, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 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 1.459/1.459, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.324e-06/2.324e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.228e-05/4.46e-05, allocations: 2.312 kB / 272.2 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008566/0.008611, allocations: 5.854 MB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.01274, allocations: 1.711 MB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006611/0.0134, allocations: 27.88 kB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.01415, allocations: 245.9 kB / 280.1 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.0155, allocations: 0.539 MB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.0165, allocations: 463.2 kB / 281.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009419/0.02592, allocations: 7.998 MB / 289.1 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1336/0.1596, allocations: 1.533 MB / 290.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007891/0.1675, allocations: 4.047 MB / 294.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006109/0.1736, allocations: 2.765 MB / 297.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001997/0.1756, allocations: 0.6588 MB / 298.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.1782, allocations: 0.6598 MB / 298.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.1801, allocations: 1.624 MB / 300.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004485/0.1846, allocations: 2.149 MB / 302.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006029/0.1906, allocations: 8.539 MB / 311 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1906, allocations: 0 / 311 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1906, allocations: 0.9375 kB / 311 MB, free: 8.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001785/0.1908, allocations: 3.656 kB / 311.1 MB, free: 8.801 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.01135/0.2022, allocations: 5.922 MB / 317 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2022, allocations: 8.031 kB / 317 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2035, allocations: 0.8642 MB / 317.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/0.2074, allocations: 2.729 MB / 320.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2075, allocations: 316.5 kB / 320.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005895/0.2081, allocations: 476.2 kB / 321.3 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/0.2234, allocations: 8.075 MB / 329.4 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/0.2235, allocations: 192 / 329.4 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005475/0.224, allocations: 172.6 kB / 329.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005009/0.2245, allocations: 204.4 kB / 329.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.2362, allocations: 5.538 MB / 335.3 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03979/0.276, allocations: 16.5 MB / 351.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007639/0.2836, allocations: 4.331 MB / 356.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005251/0.2889, allocations: 3.357 MB / 359.5 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.289, allocations: 58.81 kB / 359.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.2891, allocations: 85.88 kB / 359.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=358): time 6.783e-06/0.2891, allocations: 0 / 359.7 MB, free: 9.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=358): time 0.01195/0.3011, allocations: 6.002 MB / 365.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002338/0.3013, allocations: 299.8 kB / 366 MB, free: 2.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005581/0.3069, allocations: 2.917 MB / 368.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006379/0.3075, allocations: 105.7 kB / 369 MB, free: 15.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.3093, allocations: 1.739 MB / 370.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/0.311, allocations: 1.305 MB / 372 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001227/0.3122, allocations: 0.6458 MB / 372.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3124, allocations: 301.1 kB / 373 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/0.3163, allocations: 2.127 MB / 375.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/0.3204, allocations: 2.663 MB / 377.7 MB, free: 6.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02125/0.3417, allocations: 8.933 MB / 386.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.3417, allocations: 2.125 kB / 386.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.0139/0.3556, allocations: 5.728 MB / 392.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.575e-05/0.3556, allocations: 11.98 kB / 392.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.3557, allocations: 0 / 392.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.3573, allocations: 397.2 kB / 392.8 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00421/0.3615, allocations: 0.9223 MB / 393.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009053/0.3706, allocations: 7.3 MB / 401 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/0.3743, allocations: 381.5 kB / 401.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000744/0.3751, allocations: 108 kB / 401.5 MB, free: 14.83 MB / 362.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.004192/0.3793, allocations: 1.411 MB / 402.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002154/0.3814, allocations: 438.3 kB / 403.3 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.3827, allocations: 434.3 kB / 403.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/0.3828, allocations: 32 kB / 403.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-05/0.3828, allocations: 8 kB / 403.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/0.3829, allocations: 15.94 kB / 403.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/0.404, allocations: 10.88 MB / 414.7 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.352e-05/0.404, allocations: 12 kB / 414.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003948/0.408, allocations: 0.8163 MB / 415.5 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/0.4093, allocations: 333.7 kB / 415.9 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004401/0.4097, allocations: 127.9 kB / 416 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.4199, allocations: 10.14 MB / 426.1 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-05/0.4199, allocations: 23.88 kB / 426.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1349/0.5548, allocations: 7.198 MB / 433.3 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001587/0.5564, allocations: 469.7 kB / 433.8 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/0.5579, allocations: 125.8 kB / 433.9 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003976/0.5619, allocations: 409.3 kB / 434.3 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/0.563, allocations: 303.9 kB / 434.6 MB, free: 117.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007501/0.5637, allocations: 117.3 kB / 434.7 MB, free: 117.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004632/0.5683, allocations: 2.06 MB / 436.8 MB, free: 117.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5683, allocations: 0 / 436.8 MB, free: 117.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005821/0.5742, allocations: 1.357 MB / 438.1 MB, free: 117.2 MB / 378.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.0009871/0.5751, allocations: 298 kB / 438.4 MB, free: 117 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008401/0.5835, allocations: 4.952 MB / 443.4 MB, free: 115.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.978e-05/0.5836, allocations: 8.688 kB / 443.4 MB, free: 115.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005832/0.5894, allocations: 3.23 MB / 446.6 MB, free: 113.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006772/0.5962, allocations: 0.6792 MB / 447.3 MB, free: 113.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/0.6227, allocations: 11.58 MB / 458.9 MB, free: 107.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005514/0.6282, allocations: 2.684 MB / 461.6 MB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006343/0.6345, allocations: 1.252 MB / 462.8 MB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/0.6366, allocations: 245.9 kB / 463.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.264e-06/0.6366, allocations: 0 / 463.1 MB, free: 105.2 MB / 378.7 MB Notification: Performance of Templates: time 0.0976/0.7342, allocations: 48.99 MB / 0.5001 GB, free: 57.1 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.6509285470237955]