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.001479/0.001479, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001764/0.001764, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.495/1.495, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.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.001999/0.001999, allocations: 67.88 kB / 378.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2784, allocations: 53.37 MB / 432.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008859/0.2873, allocations: 6.732 MB / 438.9 MB, free: 316 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.292, allocations: 1.715 MB / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.2937, allocations: 27.88 kB / 440.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.2947, allocations: 258 kB / 440.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.2964, allocations: 0.516 MB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.2976, allocations: 455.3 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008346/0.3059, allocations: 7.786 MB / 449.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.3086, allocations: 1.572 MB / 451.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00457/0.3132, allocations: 2.789 MB / 454 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/0.3187, allocations: 2.896 MB / 456.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.3205, allocations: 0.6562 MB / 457.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.3228, allocations: 0.6602 MB / 458.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003236/0.326, allocations: 1.601 MB / 459.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006165/0.3322, allocations: 2.949 MB / 462.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.3432, allocations: 8.246 MB / 471 MB, free: 32 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.3432, allocations: 0 / 471 MB, free: 32 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3432, allocations: 0 / 471 MB, free: 32 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003432/0.3436, allocations: 0 / 471 MB, free: 32 kB / 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.01989/0.3635, allocations: 5.961 MB / 477 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.3635, allocations: 8.031 kB / 477 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.3664, allocations: 0.5446 MB / 477.5 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009133/0.3756, allocations: 2.685 MB / 480.2 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/0.376, allocations: 316.5 kB / 480.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.3782, allocations: 448.2 kB / 480.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.3965, allocations: 6.3 MB / 487.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/0.3967, allocations: 0 / 487.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.3982, allocations: 188 kB / 487.4 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.3985, allocations: 200.4 kB / 487.6 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.412, allocations: 5.549 MB / 493.2 MB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/0.4618, allocations: 18.53 MB / 0.4997 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008516/0.4703, allocations: 4.334 MB / 0.5039 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/0.4758, allocations: 3.354 MB / 0.5072 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.476, allocations: 38.72 kB / 0.5073 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.4761, allocations: 93.81 kB / 0.5073 GB, free: 14.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 6.473e-06/0.4761, allocations: 0 / 0.5073 GB, free: 14.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01273/0.4888, allocations: 5.904 MB / 0.5131 GB, free: 8.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.489, allocations: 303.8 kB / 0.5134 GB, free: 8.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006112/0.4951, allocations: 3.205 MB / 0.5165 GB, free: 5.277 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006494/0.4958, allocations: 105.7 kB / 0.5166 GB, free: 5.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.4973, allocations: 1.719 MB / 0.5183 GB, free: 3.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001639/0.499, allocations: 1.325 MB / 0.5196 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/0.5007, allocations: 0.6381 MB / 0.5202 GB, free: 1.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5008, allocations: 305.1 kB / 0.5205 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.5045, allocations: 2.127 MB / 0.5226 GB, free: 15.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/0.5087, allocations: 2.455 MB / 0.525 GB, free: 12.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01966/0.5284, allocations: 8.933 MB / 0.5337 GB, free: 3.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.5284, allocations: 0 / 0.5337 GB, free: 3.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2804/0.8088, allocations: 5.6 MB / 0.5392 GB, free: 97.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.8088, allocations: 8.094 kB / 0.5392 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.8089, allocations: 5.844 kB / 0.5392 GB, free: 97.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.8099, allocations: 334 kB / 0.5395 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/0.8142, allocations: 0.9164 MB / 0.5404 GB, free: 97.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/0.8202, allocations: 7.419 MB / 0.5477 GB, free: 92.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/0.8238, allocations: 412.2 kB / 0.548 GB, free: 92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/0.8242, allocations: 103.9 kB / 0.5481 GB, free: 91.97 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.003455/0.8277, allocations: 1.409 MB / 0.5495 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/0.8291, allocations: 357.2 kB / 0.5499 GB, free: 91.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.8302, allocations: 448.3 kB / 0.5503 GB, free: 91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.8303, allocations: 34.59 kB / 0.5503 GB, free: 91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-05/0.8303, allocations: 6.297 kB / 0.5503 GB, free: 91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-05/0.8303, allocations: 20.95 kB / 0.5503 GB, free: 91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/0.8473, allocations: 12.04 MB / 0.5621 GB, free: 85.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.8473, allocations: 15 kB / 0.5621 GB, free: 85.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/0.8506, allocations: 0.8067 MB / 0.5629 GB, free: 85.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/0.8513, allocations: 285.4 kB / 0.5632 GB, free: 84.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.8515, allocations: 131.9 kB / 0.5633 GB, free: 84.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.8568, allocations: 10.3 MB / 0.5734 GB, free: 73.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/0.8568, allocations: 19.94 kB / 0.5734 GB, free: 73.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/0.8653, allocations: 7.148 MB / 0.5804 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.8669, allocations: 0.4917 MB / 0.5809 GB, free: 65.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/0.8674, allocations: 131.1 kB / 0.581 GB, free: 65.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/0.8703, allocations: 411.6 kB / 0.5814 GB, free: 65.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004301/0.8708, allocations: 301.5 kB / 0.5817 GB, free: 64.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/0.871, allocations: 116 kB / 0.5818 GB, free: 64.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002655/0.8736, allocations: 2.279 MB / 0.584 GB, free: 62.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8736, allocations: 0 / 0.584 GB, free: 62.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003638/0.8773, allocations: 1.336 MB / 0.5853 GB, free: 61.19 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.0005472/0.8778, allocations: 292.8 kB / 0.5856 GB, free: 60.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.8841, allocations: 4.951 MB / 0.5904 GB, free: 55.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/0.8841, allocations: 6.656 kB / 0.5904 GB, free: 55.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003632/0.8877, allocations: 3.243 MB / 0.5936 GB, free: 52.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/0.8915, allocations: 0.7982 MB / 0.5944 GB, free: 51.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.9094, allocations: 12.7 MB / 0.6068 GB, free: 38.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.9121, allocations: 3.218 MB / 0.6099 GB, free: 35.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003525/0.9156, allocations: 1.301 MB / 0.6112 GB, free: 34.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/0.9165, allocations: 251.4 kB / 0.6114 GB, free: 34.12 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9165, allocations: 0 / 0.6114 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Templates: time 0.08799/1.004, allocations: 56.43 MB / 0.6665 GB, free: 10.32 MB / 478.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 -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: 7.328320140950382]