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.001407/0.001407, allocations: 111.1 kB / 20.44 MB, free: 1.062 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: 215.9 kB / 23.73 MB, free: 4.16 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.001883/0.001883, allocations: 51.92 kB / 378.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2806, allocations: 53.36 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007662/0.2883, allocations: 5.841 MB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.292, allocations: 1.683 MB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009631/0.293, allocations: 27.88 kB / 439.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009665/0.294, allocations: 257.9 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.2956, allocations: 0.5161 MB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2968, allocations: 451.3 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008421/0.3052, allocations: 7.779 MB / 448.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003794/0.309, allocations: 1.535 MB / 449.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004802/0.3138, allocations: 2.793 MB / 452.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006347/0.3202, allocations: 3.063 MB / 455.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002151/0.3223, allocations: 0.6602 MB / 456.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.3249, allocations: 0.6562 MB / 456.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.3277, allocations: 1.593 MB / 458.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005208/0.3329, allocations: 2.471 MB / 460.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.3441, allocations: 8.284 MB / 469.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3441, allocations: 8 kB / 469.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3441, allocations: 0 / 469.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003282/0.3444, allocations: 0 / 469.2 MB, free: 0.8867 MB / 366.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.01776/0.3622, allocations: 5.96 MB / 475.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3622, allocations: 8.031 kB / 475.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.3643, allocations: 0.5407 MB / 475.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007303/0.3716, allocations: 2.685 MB / 478.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.372, allocations: 316.5 kB / 478.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001873/0.3739, allocations: 440.2 kB / 479.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.395, allocations: 8.08 MB / 487.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002469/0.3953, allocations: 0 / 487.2 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.3969, allocations: 180 kB / 487.4 MB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/0.3972, allocations: 200.5 kB / 487.6 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.4104, allocations: 5.541 MB / 493.1 MB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04382/0.4542, allocations: 16.31 MB / 0.4975 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008785/0.463, allocations: 4.332 MB / 0.5017 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006149/0.4692, allocations: 3.353 MB / 0.505 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.4694, allocations: 46.75 kB / 0.5051 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.4695, allocations: 93.81 kB / 0.5052 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 7.033e-06/0.4695, allocations: 0 / 0.5052 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01248/0.482, allocations: 5.888 MB / 0.5109 GB, free: 9.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/0.4822, allocations: 299.8 kB / 0.5112 GB, free: 9.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005768/0.488, allocations: 2.913 MB / 0.514 GB, free: 6.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000608/0.4886, allocations: 105.7 kB / 0.5141 GB, free: 6.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.4901, allocations: 1.745 MB / 0.5158 GB, free: 4.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.4917, allocations: 1.325 MB / 0.5171 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/0.4935, allocations: 0.6381 MB / 0.5178 GB, free: 2.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4936, allocations: 301.1 kB / 0.518 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/0.4973, allocations: 2.127 MB / 0.5201 GB, free: 252 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/0.502, allocations: 2.66 MB / 0.5227 GB, free: 13.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/0.5212, allocations: 8.933 MB / 0.5314 GB, free: 4.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/0.5212, allocations: 3.938 kB / 0.5314 GB, free: 4.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2737/0.7949, allocations: 5.581 MB / 0.5369 GB, free: 98.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.7949, allocations: 7.906 kB / 0.5369 GB, free: 98.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.7949, allocations: 5.922 kB / 0.5369 GB, free: 98.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.796, allocations: 329.5 kB / 0.5372 GB, free: 98.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/0.8004, allocations: 0.9118 MB / 0.5381 GB, free: 98.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.8064, allocations: 7.281 MB / 0.5452 GB, free: 92.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003683/0.8101, allocations: 387.1 kB / 0.5456 GB, free: 92.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/0.8106, allocations: 108.3 kB / 0.5457 GB, free: 92.67 MB / 446.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.003022/0.8136, allocations: 1.407 MB / 0.5471 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008695/0.8145, allocations: 325.2 kB / 0.5474 GB, free: 92.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.8152, allocations: 433.8 kB / 0.5478 GB, free: 91.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.8152, allocations: 35.38 kB / 0.5478 GB, free: 91.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.243e-05/0.8153, allocations: 3.938 kB / 0.5478 GB, free: 91.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.8153, allocations: 19.62 kB / 0.5478 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.8292, allocations: 10.87 MB / 0.5585 GB, free: 87.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.8292, allocations: 10.94 kB / 0.5585 GB, free: 87.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/0.8324, allocations: 0.8183 MB / 0.5593 GB, free: 86.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006205/0.833, allocations: 285.8 kB / 0.5595 GB, free: 86.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.8333, allocations: 127.9 kB / 0.5597 GB, free: 86.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004737/0.838, allocations: 10.13 MB / 0.5696 GB, free: 75.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.838, allocations: 19.88 kB / 0.5696 GB, free: 75.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008784/0.8468, allocations: 7.119 MB / 0.5765 GB, free: 68.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.8484, allocations: 469.7 kB / 0.577 GB, free: 67.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009304/0.8493, allocations: 120 kB / 0.5771 GB, free: 67.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/0.8524, allocations: 419.6 kB / 0.5775 GB, free: 67.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/0.8529, allocations: 293.5 kB / 0.5778 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/0.8531, allocations: 120 kB / 0.5779 GB, free: 67.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002386/0.8555, allocations: 2.055 MB / 0.5799 GB, free: 64.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8555, allocations: 1.5 kB / 0.5799 GB, free: 64.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003634/0.8591, allocations: 1.356 MB / 0.5812 GB, free: 63.72 MB / 446.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.0005157/0.8597, allocations: 293.3 kB / 0.5815 GB, free: 63.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006224/0.8659, allocations: 4.954 MB / 0.5863 GB, free: 58.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.007e-05/0.8659, allocations: 10.66 kB / 0.5863 GB, free: 58.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003624/0.8695, allocations: 3.224 MB / 0.5895 GB, free: 55.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/0.8731, allocations: 0.6678 MB / 0.5901 GB, free: 54.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/0.8917, allocations: 12.63 MB / 0.6025 GB, free: 41.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.8944, allocations: 2.693 MB / 0.6051 GB, free: 38.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003608/0.898, allocations: 1.248 MB / 0.6063 GB, free: 37.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008196/0.8988, allocations: 239.4 kB / 0.6066 GB, free: 37.45 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.8988, allocations: 0 / 0.6066 GB, free: 37.45 MB / 446.1 MB Notification: Performance of Templates: time 0.08443/0.9833, allocations: 54.47 MB / 0.6597 GB, free: 15.79 MB / 478.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 -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/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_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: 7.150760188698769]