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.001492/0.001492, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001621/0.001621, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.636/1.636, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001596/0.001596, allocations: 43.94 kB / 379 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.361, allocations: 53.37 MB / 432.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008415/0.3694, allocations: 5.851 MB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004385/0.3738, allocations: 1.676 MB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.3751, allocations: 27.88 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.3759, allocations: 258 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.3774, allocations: 0.5199 MB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009873/0.3784, allocations: 451.3 kB / 441.1 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008651/0.387, allocations: 7.786 MB / 448.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.3899, allocations: 1.566 MB / 450.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.3952, allocations: 2.793 MB / 453.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006105/0.4013, allocations: 2.899 MB / 456.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.4031, allocations: 0.6602 MB / 456.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.4053, allocations: 0.6562 MB / 457.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.4072, allocations: 1.601 MB / 459.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007062/0.4143, allocations: 2.475 MB / 461.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.426, allocations: 8.284 MB / 469.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.4261, allocations: 0 / 469.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4261, allocations: 0 / 469.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003937/0.4264, allocations: 0 / 469.9 MB, free: 0.9727 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.02172/0.4482, allocations: 5.961 MB / 475.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.527e-05/0.4482, allocations: 8.031 kB / 475.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.4506, allocations: 0.5407 MB / 476.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00836/0.459, allocations: 2.685 MB / 479.1 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.4594, allocations: 316.5 kB / 479.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/0.4611, allocations: 448.2 kB / 479.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/0.4807, allocations: 8.076 MB / 487.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.4808, allocations: 3.938 kB / 487.9 MB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001246/0.482, allocations: 172 kB / 488 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/0.4824, allocations: 200.5 kB / 488.2 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.4966, allocations: 5.537 MB / 493.8 MB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05043/0.547, allocations: 16.32 MB / 0.4981 GB, free: 7.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5572, allocations: 4.328 MB / 0.5024 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006714/0.564, allocations: 3.357 MB / 0.5056 GB, free: 0 / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/0.5643, allocations: 38.86 kB / 0.5057 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.5645, allocations: 97.75 kB / 0.5058 GB, free: 15.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 1.148e-05/0.5645, allocations: 0 / 0.5058 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01761/0.5822, allocations: 5.877 MB / 0.5115 GB, free: 9.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003606/0.5825, allocations: 299.8 kB / 0.5118 GB, free: 9.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009202/0.5917, allocations: 2.913 MB / 0.5146 GB, free: 6.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001522/0.5932, allocations: 105.7 kB / 0.5147 GB, free: 6.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002345/0.5956, allocations: 1.745 MB / 0.5165 GB, free: 4.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002813/0.5984, allocations: 1.325 MB / 0.5177 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003284/0.6017, allocations: 0.642 MB / 0.5184 GB, free: 2.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.6019, allocations: 305.1 kB / 0.5187 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/0.6067, allocations: 2.127 MB / 0.5207 GB, free: 340 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005945/0.6127, allocations: 2.664 MB / 0.5233 GB, free: 13.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/0.633, allocations: 8.933 MB / 0.5321 GB, free: 4.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.6331, allocations: 3.938 kB / 0.5321 GB, free: 4.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.3795/1.013, allocations: 5.577 MB / 0.5375 GB, free: 98.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/1.013, allocations: 5.562 kB / 0.5375 GB, free: 98.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.013, allocations: 6.031 kB / 0.5375 GB, free: 98.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/1.014, allocations: 335.5 kB / 0.5378 GB, free: 98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/1.019, allocations: 0.9157 MB / 0.5387 GB, free: 97.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/1.025, allocations: 7.274 MB / 0.5458 GB, free: 92.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.029, allocations: 383.7 kB / 0.5462 GB, free: 92.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005529/1.03, allocations: 115.3 kB / 0.5463 GB, free: 92.57 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.004887/1.035, allocations: 1.411 MB / 0.5477 GB, free: 91.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.036, allocations: 326.3 kB / 0.548 GB, free: 91.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008746/1.037, allocations: 431.6 kB / 0.5484 GB, free: 91.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/1.037, allocations: 35.89 kB / 0.5485 GB, free: 91.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.106e-05/1.037, allocations: 3.5 kB / 0.5485 GB, free: 91.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/1.037, allocations: 19.17 kB / 0.5485 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/1.054, allocations: 10.86 MB / 0.5591 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/1.054, allocations: 18.91 kB / 0.5591 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/1.058, allocations: 0.8185 MB / 0.5599 GB, free: 87.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/1.058, allocations: 281.8 kB / 0.5602 GB, free: 86.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002334/1.059, allocations: 127.9 kB / 0.5603 GB, free: 86.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005404/1.064, allocations: 10.11 MB / 0.5702 GB, free: 75.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.064, allocations: 27.86 kB / 0.5702 GB, free: 75.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008921/1.073, allocations: 7.117 MB / 0.5771 GB, free: 68.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.075, allocations: 478.6 kB / 0.5776 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/1.075, allocations: 124 kB / 0.5777 GB, free: 67.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.078, allocations: 411.6 kB / 0.5781 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004544/1.078, allocations: 293.5 kB / 0.5784 GB, free: 67.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.079, allocations: 124 kB / 0.5785 GB, free: 67.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002413/1.081, allocations: 2.055 MB / 0.5805 GB, free: 65.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/1.081, allocations: 0 / 0.5805 GB, free: 65.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004164/1.085, allocations: 1.357 MB / 0.5818 GB, free: 63.8 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.0006923/1.086, allocations: 300.1 kB / 0.5821 GB, free: 63.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007479/1.093, allocations: 4.946 MB / 0.587 GB, free: 58.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.921e-05/1.093, allocations: 12.25 kB / 0.587 GB, free: 58.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003952/1.097, allocations: 3.228 MB / 0.5901 GB, free: 55.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/1.101, allocations: 0.6649 MB / 0.5908 GB, free: 54.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.121, allocations: 12.62 MB / 0.6031 GB, free: 41.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/1.124, allocations: 2.686 MB / 0.6057 GB, free: 39.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003585/1.128, allocations: 1.264 MB / 0.6069 GB, free: 37.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008316/1.129, allocations: 227.4 kB / 0.6072 GB, free: 37.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/1.129, allocations: 0 / 0.6072 GB, free: 37.54 MB / 446.1 MB Notification: Performance of Templates: time 0.1422/1.271, allocations: 55.8 MB / 0.6617 GB, free: 14.55 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 -s cvode -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: 8.044665575012914]