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.001542/0.001542, allocations: 71.75 kB / 21.24 MB, free: 0.5391 MB / 14.72 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.00155/0.00155, allocations: 162.2 kB / 24.5 MB, free: 3.707 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001544/0.001544, allocations: 51.31 kB / 325.6 MB, free: 248 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.103, allocations: 53.35 MB / 379 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007389/0.1104, allocations: 5.839 MB / 384.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003634/0.114, allocations: 1.687 MB / 386.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006183/0.1146, allocations: 27.88 kB / 386.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.1153, allocations: 246 kB / 386.7 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.1167, allocations: 0.5199 MB / 387.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1179, allocations: 451.3 kB / 387.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008223/0.1261, allocations: 7.783 MB / 395.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.1284, allocations: 1.543 MB / 397 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.1321, allocations: 2.793 MB / 399.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.1375, allocations: 3.056 MB / 402.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001567/0.1391, allocations: 0.6562 MB / 403.5 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.1408, allocations: 0.6641 MB / 404.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001735/0.1425, allocations: 1.601 MB / 405.8 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005407/0.1479, allocations: 2.467 MB / 408.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009231/0.1572, allocations: 8.289 MB / 416.6 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1572, allocations: 0 / 416.6 MB, free: 9.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1572, allocations: 0 / 416.6 MB, free: 9.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002255/0.1574, allocations: 0 / 416.6 MB, free: 9.781 MB / 382.1 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.0153/0.1727, allocations: 5.965 MB / 422.5 MB, free: 3.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1727, allocations: 8.031 kB / 422.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.1739, allocations: 0.5446 MB / 423.1 MB, free: 3.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/0.1793, allocations: 2.674 MB / 425.7 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.1796, allocations: 312.5 kB / 426.1 MB, free: 160 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007447/0.1803, allocations: 452.2 kB / 426.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.195, allocations: 8.072 MB / 434.6 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.1951, allocations: 0 / 434.6 MB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/0.1961, allocations: 176 kB / 434.7 MB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.1964, allocations: 200.5 kB / 434.9 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.2086, allocations: 5.537 MB / 440.5 MB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04375/0.2524, allocations: 16.32 MB / 456.8 MB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008354/0.2607, allocations: 4.336 MB / 461.1 MB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005583/0.2663, allocations: 3.349 MB / 464.5 MB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002543/0.2666, allocations: 42.81 kB / 464.5 MB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.2667, allocations: 93.75 kB / 464.6 MB, free: 8.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 9.207e-06/0.2667, allocations: 0 / 464.6 MB, free: 8.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01228/0.279, allocations: 5.885 MB / 470.5 MB, free: 2.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.2792, allocations: 295.8 kB / 470.8 MB, free: 2.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2489/0.5281, allocations: 2.906 MB / 473.7 MB, free: 81.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009072/0.529, allocations: 107 kB / 473.8 MB, free: 81.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.5303, allocations: 1.743 MB / 475.5 MB, free: 81.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.5315, allocations: 1.323 MB / 476.9 MB, free: 80.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.5326, allocations: 0.644 MB / 477.5 MB, free: 80.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.5327, allocations: 306.9 kB / 477.8 MB, free: 80.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003252/0.5359, allocations: 2.13 MB / 479.9 MB, free: 79.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/0.5396, allocations: 2.656 MB / 482.6 MB, free: 78.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/0.5537, allocations: 8.933 MB / 491.5 MB, free: 75.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.5537, allocations: 4.719 kB / 491.5 MB, free: 75.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.006673/0.5604, allocations: 5.581 MB / 497.1 MB, free: 72.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.5604, allocations: 4 kB / 497.1 MB, free: 72.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5604, allocations: 5.5 kB / 497.1 MB, free: 72.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008306/0.5612, allocations: 329.3 kB / 497.4 MB, free: 72.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.5645, allocations: 0.9153 MB / 498.4 MB, free: 71.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.5693, allocations: 7.279 MB / 0.4938 GB, free: 64.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.5722, allocations: 378.6 kB / 0.4941 GB, free: 63.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.5724, allocations: 108.2 kB / 0.4942 GB, free: 63.67 MB / 430.1 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.002033/0.5745, allocations: 1.412 MB / 0.4956 GB, free: 62.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/0.575, allocations: 334 kB / 0.4959 GB, free: 61.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.5757, allocations: 429.8 kB / 0.4964 GB, free: 61.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.5757, allocations: 32 kB / 0.4964 GB, free: 61.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/0.5757, allocations: 7.984 kB / 0.4964 GB, free: 61.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.5757, allocations: 19.94 kB / 0.4964 GB, free: 61.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.5882, allocations: 10.86 MB / 0.507 GB, free: 50.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.5882, allocations: 18.72 kB / 0.507 GB, free: 50.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/0.5913, allocations: 0.8194 MB / 0.5078 GB, free: 49.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/0.592, allocations: 294.1 kB / 0.5081 GB, free: 49.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.5922, allocations: 123.9 kB / 0.5082 GB, free: 49.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/0.597, allocations: 10.12 MB / 0.5181 GB, free: 38.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.597, allocations: 24 kB / 0.5181 GB, free: 38.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007955/0.605, allocations: 7.125 MB / 0.5251 GB, free: 30.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.6061, allocations: 465.2 kB / 0.5255 GB, free: 30.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/0.6066, allocations: 124 kB / 0.5257 GB, free: 30.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/0.6092, allocations: 407.6 kB / 0.526 GB, free: 29.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003827/0.6096, allocations: 297.5 kB / 0.5263 GB, free: 29.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/0.6098, allocations: 128 kB / 0.5265 GB, free: 29.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002221/0.6121, allocations: 2.051 MB / 0.5285 GB, free: 27.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6121, allocations: 0 / 0.5285 GB, free: 27.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00264/0.6147, allocations: 1.357 MB / 0.5298 GB, free: 26.03 MB / 430.1 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.0003722/0.6151, allocations: 300.3 kB / 0.5301 GB, free: 25.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005469/0.6205, allocations: 4.952 MB / 0.5349 GB, free: 20.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.6205, allocations: 10.66 kB / 0.5349 GB, free: 20.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003228/0.6238, allocations: 3.228 MB / 0.5381 GB, free: 17.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.6265, allocations: 0.6706 MB / 0.5387 GB, free: 16.72 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.6411, allocations: 12.55 MB / 0.551 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.6435, allocations: 2.689 MB / 0.5536 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002931/0.6464, allocations: 1.252 MB / 0.5548 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008414/0.6472, allocations: 236.4 kB / 0.555 GB, free: 15.76 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6472, allocations: 4 kB / 0.5551 GB, free: 15.75 MB / 446.1 MB Notification: Performance of Templates: time 0.09569/0.7429, allocations: 49.14 MB / 0.603 GB, free: 15.39 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLineTrunks/CompareLineTrunks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.748411312000826]