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.001459/0.001459, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001867/0.001867, allocations: 207.4 kB / 23.72 MB, free: 4.391 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.002139/0.002139, allocations: 59.91 kB / 378.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2786, allocations: 53.41 MB / 431.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.0082/0.2868, allocations: 5.845 MB / 437.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.291, allocations: 1.687 MB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.292, allocations: 23.94 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.2929, allocations: 261.9 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.2944, allocations: 0.5082 MB / 440 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.2955, allocations: 451.4 kB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00896/0.3044, allocations: 7.783 MB / 448.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.3071, allocations: 1.539 MB / 449.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.3117, allocations: 2.793 MB / 452.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006079/0.3177, allocations: 3.063 MB / 455.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.3194, allocations: 0.6602 MB / 456.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.3216, allocations: 0.6562 MB / 456.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.3236, allocations: 1.593 MB / 458.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005367/0.329, allocations: 2.463 MB / 461 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.3391, allocations: 8.288 MB / 469.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.3391, allocations: 4 kB / 469.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3391, allocations: 0 / 469.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003414/0.3395, allocations: 0 / 469.3 MB, free: 0.7031 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.01771/0.3572, allocations: 5.961 MB / 475.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3572, allocations: 12.03 kB / 475.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.3586, allocations: 0.5407 MB / 475.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/0.3642, allocations: 2.682 MB / 478.5 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.3645, allocations: 320.5 kB / 478.8 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008422/0.3653, allocations: 448.2 kB / 479.2 MB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.3792, allocations: 8.068 MB / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.04e-05/0.3792, allocations: 0 / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000465/0.3797, allocations: 187.9 kB / 487.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.3799, allocations: 196.5 kB / 487.7 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.3926, allocations: 5.537 MB / 493.2 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04223/0.4348, allocations: 16.3 MB / 0.4976 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/0.4429, allocations: 4.339 MB / 0.5018 GB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005218/0.4481, allocations: 3.349 MB / 0.5051 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.4483, allocations: 42.81 kB / 0.5051 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.883e-05/0.4484, allocations: 89.81 kB / 0.5052 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=358): time 6.271e-06/0.4484, allocations: 0 / 0.5052 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=358): time 0.01159/0.46, allocations: 5.884 MB / 0.511 GB, free: 9.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/0.4602, allocations: 299.8 kB / 0.5112 GB, free: 9.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006362/0.4665, allocations: 2.917 MB / 0.5141 GB, free: 6.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008319/0.4674, allocations: 101.7 kB / 0.5142 GB, free: 6.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.4691, allocations: 1.749 MB / 0.5159 GB, free: 4.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002019/0.4711, allocations: 1.321 MB / 0.5172 GB, free: 3.137 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002064/0.4732, allocations: 0.6459 MB / 0.5178 GB, free: 2.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4734, allocations: 305.1 kB / 0.5181 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003723/0.4771, allocations: 2.123 MB / 0.5202 GB, free: 60 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/0.4817, allocations: 2.664 MB / 0.5228 GB, free: 13.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02054/0.5022, allocations: 8.937 MB / 0.5315 GB, free: 4.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/0.5022, allocations: 3.938 kB / 0.5315 GB, free: 4.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.273/0.7753, allocations: 5.579 MB / 0.537 GB, free: 98.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.7753, allocations: 6.125 kB / 0.537 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.7753, allocations: 6.891 kB / 0.537 GB, free: 98.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.7764, allocations: 325.1 kB / 0.5373 GB, free: 98.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/0.7808, allocations: 0.9168 MB / 0.5382 GB, free: 98.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/0.7873, allocations: 7.268 MB / 0.5453 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/0.7909, allocations: 383.5 kB / 0.5456 GB, free: 92.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/0.7912, allocations: 114.5 kB / 0.5457 GB, free: 92.52 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.002738/0.794, allocations: 1.412 MB / 0.5471 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008196/0.7948, allocations: 325 kB / 0.5474 GB, free: 91.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.7955, allocations: 432.9 kB / 0.5478 GB, free: 91.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.7955, allocations: 38.98 kB / 0.5479 GB, free: 91.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.79e-05/0.7955, allocations: 7.875 kB / 0.5479 GB, free: 91.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.7956, allocations: 19.03 kB / 0.5479 GB, free: 91.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.8108, allocations: 10.86 MB / 0.5585 GB, free: 87.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.8109, allocations: 13.84 kB / 0.5585 GB, free: 87.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/0.8141, allocations: 0.8165 MB / 0.5593 GB, free: 86.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007139/0.8148, allocations: 281.8 kB / 0.5596 GB, free: 86.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004251/0.8152, allocations: 127.9 kB / 0.5597 GB, free: 86.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006241/0.8215, allocations: 10.13 MB / 0.5696 GB, free: 75.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.8215, allocations: 23.88 kB / 0.5696 GB, free: 75.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.8317, allocations: 7.115 MB / 0.5766 GB, free: 68.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/0.8334, allocations: 473.5 kB / 0.577 GB, free: 67.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001094/0.8345, allocations: 124 kB / 0.5771 GB, free: 67.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/0.8381, allocations: 411.6 kB / 0.5775 GB, free: 67.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/0.8386, allocations: 305.4 kB / 0.5778 GB, free: 66.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004007/0.839, allocations: 124 kB / 0.5779 GB, free: 66.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003676/0.8427, allocations: 2.055 MB / 0.58 GB, free: 64.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8427, allocations: 0 / 0.58 GB, free: 64.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005762/0.8484, allocations: 1.352 MB / 0.5813 GB, free: 63.39 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.001031/0.8495, allocations: 295.8 kB / 0.5816 GB, free: 63.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008485/0.858, allocations: 4.955 MB / 0.5864 GB, free: 58.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.239e-05/0.858, allocations: 10.66 kB / 0.5864 GB, free: 58.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004319/0.8623, allocations: 3.227 MB / 0.5896 GB, free: 54.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005144/0.8675, allocations: 0.6674 MB / 0.5902 GB, free: 54.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/0.8886, allocations: 12.63 MB / 0.6025 GB, free: 41.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/0.8927, allocations: 2.682 MB / 0.6052 GB, free: 38.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004474/0.8971, allocations: 1.248 MB / 0.6064 GB, free: 37.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/0.8988, allocations: 239.4 kB / 0.6066 GB, free: 37.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.434e-06/0.8988, allocations: 0 / 0.6066 GB, free: 37.14 MB / 446.1 MB Notification: Performance of Templates: time 0.08817/0.987, allocations: 54.48 MB / 0.6598 GB, free: 15.36 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.291224615648389]