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.001336/0.001336, allocations: 81 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.0014/0.0014, allocations: 163 kB / 24.5 MB, free: 3.715 MB / 14.72 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.466/1.466, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.1 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 0.00213/0.00213, allocations: 58.09 kB / 325.6 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1076, allocations: 53.39 MB / 379 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008784/0.1164, allocations: 5.859 MB / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005322/0.1217, allocations: 1.684 MB / 386.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.1233, allocations: 27.88 kB / 386.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.1248, allocations: 250 kB / 386.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.1272, allocations: 0.516 MB / 387.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1286, allocations: 447.4 kB / 387.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.1391, allocations: 7.779 MB / 395.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/0.1428, allocations: 1.543 MB / 397 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.1477, allocations: 2.793 MB / 399.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006258/0.154, allocations: 3.056 MB / 402.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.1559, allocations: 0.6602 MB / 403.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.1577, allocations: 0.6562 MB / 404.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.1596, allocations: 1.593 MB / 405.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005852/0.1654, allocations: 2.475 MB / 408.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00995/0.1754, allocations: 8.281 MB / 416.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1754, allocations: 8 kB / 416.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1754, allocations: 0 / 416.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002569/0.1757, allocations: 0 / 416.6 MB, free: 9.613 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.01732/0.193, allocations: 5.961 MB / 422.5 MB, free: 3.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.193, allocations: 12.02 kB / 422.5 MB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.1943, allocations: 0.5407 MB / 423.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/0.1998, allocations: 2.682 MB / 425.8 MB, free: 300 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.2001, allocations: 320.6 kB / 426.1 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007927/0.2009, allocations: 444.2 kB / 426.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/0.2156, allocations: 8.068 MB / 434.6 MB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.461e-05/0.2156, allocations: 0 / 434.6 MB, free: 6.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005149/0.2161, allocations: 184 kB / 434.8 MB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002188/0.2164, allocations: 200.5 kB / 435 MB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/0.2276, allocations: 5.541 MB / 440.5 MB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03736/0.265, allocations: 16.32 MB / 456.8 MB, free: 360 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008073/0.2731, allocations: 4.336 MB / 461.1 MB, free: 12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005233/0.2783, allocations: 3.35 MB / 464.5 MB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.2784, allocations: 38.81 kB / 464.5 MB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.2785, allocations: 93.81 kB / 464.6 MB, free: 8.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 6.222e-06/0.2786, allocations: 0 / 464.6 MB, free: 8.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.0114/0.29, allocations: 5.884 MB / 470.5 MB, free: 2.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.2901, allocations: 299.8 kB / 470.8 MB, free: 2.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2702/0.5604, allocations: 2.915 MB / 473.7 MB, free: 81.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008235/0.5612, allocations: 105 kB / 473.8 MB, free: 81.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001402/0.5626, allocations: 1.742 MB / 475.6 MB, free: 81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.5641, allocations: 1.32 MB / 476.9 MB, free: 80.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.5656, allocations: 0.6478 MB / 477.5 MB, free: 80.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.5657, allocations: 301.9 kB / 477.8 MB, free: 79.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/0.5694, allocations: 2.129 MB / 480 MB, free: 79.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004283/0.5737, allocations: 2.653 MB / 482.6 MB, free: 78.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.5898, allocations: 8.937 MB / 491.5 MB, free: 75.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5898, allocations: 3.75 kB / 491.5 MB, free: 75.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.00725/0.597, allocations: 5.582 MB / 497.1 MB, free: 72.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5971, allocations: 8 kB / 497.1 MB, free: 72.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.5971, allocations: 4 kB / 497.1 MB, free: 72.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.5979, allocations: 321.1 kB / 497.5 MB, free: 72.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/0.6011, allocations: 0.923 MB / 498.4 MB, free: 71.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.6059, allocations: 7.279 MB / 0.4938 GB, free: 63.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.6089, allocations: 382.9 kB / 0.4942 GB, free: 63.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.6091, allocations: 108 kB / 0.4943 GB, free: 63.25 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.002103/0.6112, allocations: 1.406 MB / 0.4956 GB, free: 61.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006166/0.6119, allocations: 330 kB / 0.496 GB, free: 61.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.6125, allocations: 433.8 kB / 0.4964 GB, free: 61.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6125, allocations: 36 kB / 0.4964 GB, free: 61.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/0.6125, allocations: 4 kB / 0.4964 GB, free: 61.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/0.6125, allocations: 15.94 kB / 0.4964 GB, free: 61.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.6255, allocations: 10.87 MB / 0.507 GB, free: 49.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.6255, allocations: 16.03 kB / 0.5071 GB, free: 49.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00311/0.6286, allocations: 0.8127 MB / 0.5079 GB, free: 49.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006189/0.6292, allocations: 290.3 kB / 0.5081 GB, free: 48.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.6294, allocations: 128.8 kB / 0.5083 GB, free: 48.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005588/0.635, allocations: 10.12 MB / 0.5181 GB, free: 37.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.635, allocations: 21.72 kB / 0.5182 GB, free: 37.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00851/0.6436, allocations: 7.122 MB / 0.5251 GB, free: 30.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.6449, allocations: 469.2 kB / 0.5256 GB, free: 29.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/0.6454, allocations: 127.9 kB / 0.5257 GB, free: 29.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/0.6481, allocations: 411.6 kB / 0.5261 GB, free: 29.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003847/0.6485, allocations: 294.6 kB / 0.5264 GB, free: 29.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/0.6487, allocations: 124 kB / 0.5265 GB, free: 29.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002253/0.651, allocations: 2.055 MB / 0.5285 GB, free: 26.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.651, allocations: 0 / 0.5285 GB, free: 26.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003248/0.6542, allocations: 1.353 MB / 0.5298 GB, free: 25.62 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.0005236/0.6547, allocations: 297.1 kB / 0.5301 GB, free: 25.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006004/0.6608, allocations: 4.958 MB / 0.5349 GB, free: 20.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/0.6608, allocations: 10.66 kB / 0.5349 GB, free: 20.29 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003592/0.6644, allocations: 3.217 MB / 0.5381 GB, free: 16.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.6683, allocations: 0.6704 MB / 0.5387 GB, free: 16.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.684, allocations: 12.55 MB / 0.551 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.6863, allocations: 2.686 MB / 0.5536 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003124/0.6895, allocations: 1.255 MB / 0.5548 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/0.6903, allocations: 240.4 kB / 0.5551 GB, free: 15.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6903, allocations: 0 / 0.5551 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Templates: time 0.08984/0.7801, allocations: 49.14 MB / 0.603 GB, free: 14.83 MB / 494.1 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 -s ida -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/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_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.873577217105776]