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.001362/0.001362, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001515/0.001515, allocations: 208.3 kB / 23.73 MB, free: 4.523 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.581/1.581, allocations: 230.6 MB / 257.5 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.001621/0.001621, allocations: 51.92 kB / 378.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3037, 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.008252/0.3119, allocations: 5.853 MB / 437.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004185/0.3161, allocations: 1.679 MB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.317, allocations: 23.88 kB / 439.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.3178, allocations: 265.9 kB / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.3191, allocations: 0.5122 MB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00094/0.32, allocations: 451.3 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009419/0.3295, allocations: 7.783 MB / 448.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.3325, allocations: 1.57 MB / 449.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/0.3374, allocations: 2.789 MB / 452.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006715/0.3441, allocations: 2.907 MB / 455.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.3461, allocations: 0.6602 MB / 456.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.349, allocations: 0.6562 MB / 456.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.3515, allocations: 1.601 MB / 458.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006179/0.3577, allocations: 2.467 MB / 460.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009221/0.3669, allocations: 8.288 MB / 469.1 MB, free: 1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3669, allocations: 0 / 469.1 MB, free: 1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3669, allocations: 0 / 469.1 MB, free: 1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002191/0.3672, allocations: 0 / 469.1 MB, free: 1 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.01799/0.3851, allocations: 5.959 MB / 475.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3852, allocations: 15.97 kB / 475.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.3866, allocations: 0.5446 MB / 475.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007373/0.394, allocations: 2.682 MB / 478.3 MB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.3944, allocations: 316.5 kB / 478.6 MB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/0.3957, allocations: 444.2 kB / 479 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.4132, allocations: 8.072 MB / 487.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.4134, allocations: 0 / 487.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001549/0.4149, allocations: 180 kB / 487.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003441/0.4153, allocations: 196.5 kB / 487.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.4301, allocations: 5.545 MB / 493 MB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/0.4753, allocations: 16.3 MB / 0.4974 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008336/0.4836, allocations: 4.339 MB / 0.5016 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006229/0.4899, allocations: 3.346 MB / 0.5049 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.4901, allocations: 42.8 kB / 0.5049 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.4902, allocations: 89.81 kB / 0.505 GB, free: 15.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 7.584e-06/0.4903, allocations: 0 / 0.505 GB, free: 15.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01441/0.5047, allocations: 5.896 MB / 0.5108 GB, free: 9.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/0.5049, allocations: 299.8 kB / 0.5111 GB, free: 9.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006274/0.5111, allocations: 2.917 MB / 0.5139 GB, free: 6.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000652/0.5118, allocations: 101.7 kB / 0.514 GB, free: 6.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.5134, allocations: 1.745 MB / 0.5157 GB, free: 4.766 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001959/0.5153, allocations: 1.325 MB / 0.517 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001998/0.5173, allocations: 0.642 MB / 0.5176 GB, free: 2.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5174, allocations: 305.1 kB / 0.5179 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/0.5211, allocations: 2.123 MB / 0.52 GB, free: 364 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.5251, allocations: 2.668 MB / 0.5226 GB, free: 13.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01833/0.5435, allocations: 8.933 MB / 0.5313 GB, free: 4.676 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.5435, allocations: 3.938 kB / 0.5313 GB, free: 4.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.2647/0.8081, allocations: 5.578 MB / 0.5368 GB, free: 98.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.8082, allocations: 4.625 kB / 0.5368 GB, free: 98.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.8082, allocations: 9.172 kB / 0.5368 GB, free: 98.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.8093, allocations: 323.3 kB / 0.5371 GB, free: 98.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004758/0.814, allocations: 0.9099 MB / 0.538 GB, free: 98.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.8215, allocations: 7.277 MB / 0.5451 GB, free: 92.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/0.8255, allocations: 383.7 kB / 0.5455 GB, free: 92.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004094/0.8259, allocations: 109 kB / 0.5456 GB, free: 92.64 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.00303/0.829, allocations: 1.412 MB / 0.547 GB, free: 92.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008937/0.8299, allocations: 328.3 kB / 0.5473 GB, free: 92.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007463/0.8306, allocations: 429.3 kB / 0.5477 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.8306, allocations: 33.97 kB / 0.5477 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.375e-05/0.8307, allocations: 5.156 kB / 0.5477 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.8307, allocations: 22.92 kB / 0.5477 GB, free: 91.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.8456, allocations: 10.87 MB / 0.5583 GB, free: 87.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/0.8457, allocations: 15.53 kB / 0.5584 GB, free: 87.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003556/0.8492, allocations: 0.8139 MB / 0.5592 GB, free: 87.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.8499, allocations: 285.8 kB / 0.5594 GB, free: 86.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/0.8502, allocations: 127.9 kB / 0.5595 GB, free: 86.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005346/0.8555, allocations: 10.12 MB / 0.5694 GB, free: 75.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.8555, allocations: 22.42 kB / 0.5695 GB, free: 75.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008608/0.8641, allocations: 7.117 MB / 0.5764 GB, free: 68.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.8659, allocations: 473.7 kB / 0.5769 GB, free: 68.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006137/0.8665, allocations: 124 kB / 0.577 GB, free: 67.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/0.8693, allocations: 407.6 kB / 0.5774 GB, free: 67.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000536/0.8698, allocations: 301.5 kB / 0.5777 GB, free: 67.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002887/0.8701, allocations: 118 kB / 0.5778 GB, free: 67.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00252/0.8726, allocations: 2.059 MB / 0.5798 GB, free: 65.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8726, allocations: 3.938 kB / 0.5798 GB, free: 65.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003658/0.8763, allocations: 1.363 MB / 0.5811 GB, free: 63.81 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.0005155/0.8768, allocations: 285.2 kB / 0.5814 GB, free: 63.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007414/0.8842, allocations: 4.951 MB / 0.5862 GB, free: 58.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.702e-05/0.8842, allocations: 10.66 kB / 0.5862 GB, free: 58.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004096/0.8883, allocations: 3.232 MB / 0.5894 GB, free: 55.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/0.8931, allocations: 0.6667 MB / 0.59 GB, free: 54.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/0.9117, allocations: 12.62 MB / 0.6024 GB, free: 41.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.9143, allocations: 2.693 MB / 0.605 GB, free: 39.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003232/0.9175, allocations: 1.248 MB / 0.6062 GB, free: 37.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008239/0.9183, allocations: 239.4 kB / 0.6064 GB, free: 37.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.843e-06/0.9183, allocations: 0 / 0.6064 GB, free: 37.55 MB / 446.1 MB Notification: Performance of Templates: time 0.08271/1.001, allocations: 55.79 MB / 0.6609 GB, free: 14.57 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.393295099958777]