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.001456/0.001456, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001406/0.001406, allocations: 208.3 kB / 20.75 MB, free: 2.316 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001564/0.001564, allocations: 47.92 kB / 373.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1083, allocations: 53.33 MB / 426.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.2332/0.3415, allocations: 6.712 MB / 433.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.3452, allocations: 1.711 MB / 435.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006652/0.3459, allocations: 28.09 kB / 435.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.3466, allocations: 258.2 kB / 435.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3476, allocations: 0.5078 MB / 436.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.3485, allocations: 450.6 kB / 436.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00806/0.3565, allocations: 7.817 MB / 444.3 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.3596, allocations: 2.182 MB / 446.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/0.3649, allocations: 2.79 MB / 449.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00685/0.3718, allocations: 2.903 MB / 452.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003183/0.375, allocations: 0.6579 MB / 452.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.3786, allocations: 0.6582 MB / 453.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003355/0.382, allocations: 1.595 MB / 455.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.3922, allocations: 2.942 MB / 458 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.4068, allocations: 8.239 MB / 466.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.4068, allocations: 4 kB / 466.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4068, allocations: 2.031 kB / 466.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003793/0.4071, allocations: 0 / 466.3 MB, free: 7.324 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.02162/0.4288, allocations: 6.037 MB / 472.3 MB, free: 2.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4288, allocations: 8.031 kB / 472.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/0.4321, allocations: 0.5446 MB / 472.9 MB, free: 2.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007006/0.4391, allocations: 2.66 MB / 475.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.4394, allocations: 316.5 kB / 475.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.4409, allocations: 448.1 kB / 476.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.4562, allocations: 6.312 MB / 482.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/0.4563, allocations: 0 / 482.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006326/0.4569, allocations: 172 kB / 482.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.4571, allocations: 200.5 kB / 483 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.4696, allocations: 5.553 MB / 488.5 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04482/0.5144, allocations: 18.6 MB / 0.4952 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008004/0.5224, allocations: 4.327 MB / 0.4995 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005308/0.5277, allocations: 3.368 MB / 0.5027 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.5279, allocations: 34.81 kB / 0.5028 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.528, allocations: 89.94 kB / 0.5029 GB, free: 7.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=358): time 5.1e-06/0.528, allocations: 0 / 0.5029 GB, free: 7.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=358): time 0.01199/0.54, allocations: 6.443 MB / 0.5092 GB, free: 1.043 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/0.5402, allocations: 295.8 kB / 0.5094 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/0.5462, allocations: 3.201 MB / 0.5126 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008733/0.5471, allocations: 105.7 kB / 0.5127 GB, free: 13.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.5486, allocations: 1.719 MB / 0.5143 GB, free: 11.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/0.5503, allocations: 1.325 MB / 0.5156 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/0.5515, allocations: 0.642 MB / 0.5163 GB, free: 9.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5516, allocations: 309.1 kB / 0.5166 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/0.5551, allocations: 2.127 MB / 0.5186 GB, free: 7.203 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/0.559, allocations: 2.451 MB / 0.521 GB, free: 4.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/0.5779, allocations: 9.171 MB / 0.53 GB, free: 11.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5779, allocations: 0 / 0.53 GB, free: 11.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01154/0.5894, allocations: 5.599 MB / 0.5354 GB, free: 5.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.5894, allocations: 11.94 kB / 0.5355 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5895, allocations: 0 / 0.5355 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.5906, allocations: 331.7 kB / 0.5358 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/0.5947, allocations: 0.9089 MB / 0.5367 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009205/0.6039, allocations: 7.843 MB / 0.5443 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/0.6081, allocations: 409.3 kB / 0.5447 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.6085, allocations: 104 kB / 0.5448 GB, free: 11.72 MB / 462.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.003534/0.612, allocations: 1.41 MB / 0.5462 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/0.6132, allocations: 353.9 kB / 0.5465 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.6145, allocations: 447.7 kB / 0.547 GB, free: 9.504 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.55e-05/0.6145, allocations: 36 kB / 0.547 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-05/0.6146, allocations: 0.7969 kB / 0.547 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.259e-05/0.6146, allocations: 19.92 kB / 0.547 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02313/0.6377, allocations: 11.99 MB / 0.5587 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.6378, allocations: 16.75 kB / 0.5587 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003991/0.6417, allocations: 0.8153 MB / 0.5595 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008538/0.6426, allocations: 281.8 kB / 0.5598 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004859/0.6431, allocations: 131.9 kB / 0.5599 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.6538, allocations: 11.04 MB / 0.5707 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/0.6538, allocations: 19.94 kB / 0.5707 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.6671, allocations: 7.147 MB / 0.5777 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/0.669, allocations: 0.5568 MB / 0.5782 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008782/0.6699, allocations: 124 kB / 0.5784 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/0.6733, allocations: 407.6 kB / 0.5787 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006249/0.674, allocations: 289.6 kB / 0.579 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003505/0.6743, allocations: 116 kB / 0.5791 GB, free: 6.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004157/0.6785, allocations: 2.287 MB / 0.5814 GB, free: 4.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6785, allocations: 0 / 0.5814 GB, free: 4.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005393/0.6839, allocations: 1.337 MB / 0.5827 GB, free: 3.242 MB / 494.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.0008979/0.6848, allocations: 297 kB / 0.583 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00998/0.6947, allocations: 4.945 MB / 0.5878 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.113e-05/0.6948, allocations: 10.56 kB / 0.5878 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006499/0.7013, allocations: 3.236 MB / 0.591 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/0.7071, allocations: 0.8105 MB / 0.5917 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/0.7335, allocations: 12.63 MB / 0.6041 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004615/0.7381, allocations: 3.214 MB / 0.6072 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004491/0.7426, allocations: 1.297 MB / 0.6085 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.744, allocations: 247.4 kB / 0.6087 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of SimCode: time 1.703e-06/0.744, allocations: 0 / 0.6087 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of Templates: time 0.3448/1.089, allocations: 54.39 MB / 0.6618 GB, free: 141.1 MB / 0.5137 GB " [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.300357233732939]