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.0007282/0.0007282, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009493/0.001678, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006733/0.0006733, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000818/0.001491, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.934/0.934, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08805/1.022, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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 1.613e-06/1.613e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.72e-05, allocations: 2.312 kB / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.00491/0.004927, allocations: 6.489 MB / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.007205, allocations: 1.792 MB / 253.3 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.007514, allocations: 27.88 kB / 253.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.007893, allocations: 261.9 kB / 253.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006451/0.008538, allocations: 0.5429 MB / 254.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.00904, allocations: 451.4 kB / 254.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004394/0.01343, allocations: 8.045 MB / 262.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.01476, allocations: 1.589 MB / 264.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.01828, allocations: 4.517 MB / 268.8 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.02057, allocations: 3.224 MB / 272 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.02114, allocations: 0.6562 MB / 272.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000578/0.02172, allocations: 0.6602 MB / 273.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.12/0.1417, allocations: 1.196 MB / 274.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00528/0.147, allocations: 1.704 MB / 276.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007232/0.1542, allocations: 4.732 MB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.092e-05/0.1542, allocations: 0 / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1542, allocations: 2.953 kB / 280.9 MB, free: 9.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0003068/0.1545, allocations: 0 / 280.9 MB, free: 9.133 MB / 266.7 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.01252/0.167, allocations: 6.365 MB / 287.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1671, allocations: 11.03 kB / 287.3 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.1683, allocations: 0.6978 MB / 288 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.1708, allocations: 1.42 MB / 289.4 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1709, allocations: 316.4 kB / 289.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005057/0.1714, allocations: 473.4 kB / 290.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.1758, allocations: 4.871 MB / 295.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.1759, allocations: 4.188 kB / 295.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/0.1762, allocations: 182.2 kB / 295.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.1763, allocations: 202.6 kB / 295.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.1785, allocations: 1.033 MB / 296.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.1937, allocations: 9.84 MB / 306.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.1962, allocations: 2.165 MB / 308.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.1978, allocations: 1.418 MB / 309.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.1979, allocations: 59.7 kB / 310 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.142e-05/0.198, allocations: 85.88 kB / 310 MB, free: 9.184 MB / 282.7 MB Notification: Performance of pre-optimization done (n=358): time 6.342e-06/0.198, allocations: 0 / 310 MB, free: 9.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=358): time 0.003903/0.2019, allocations: 1.996 MB / 312 MB, free: 7.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.202, allocations: 94.22 kB / 312.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.2041, allocations: 1.644 MB / 313.8 MB, free: 5.668 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002657/0.2044, allocations: 105.7 kB / 313.9 MB, free: 5.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007323/0.2051, allocations: 1.374 MB / 315.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008567/0.206, allocations: 1.304 MB / 316.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000859/0.2068, allocations: 0.5908 MB / 317.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.2069, allocations: 309.1 kB / 317.5 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/0.2077, allocations: 368.6 kB / 317.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.2087, allocations: 0.8944 MB / 318.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.2119, allocations: 2.484 MB / 321.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.2119, allocations: 0 / 321.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.003079/0.215, allocations: 1.751 MB / 322.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.215, allocations: 4 kB / 322.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.215, allocations: 0 / 322.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008127/0.2158, allocations: 298.4 kB / 323.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/0.2223, allocations: 1.304 MB / 324.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/0.2292, allocations: 5.952 MB / 330.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/0.2344, allocations: 288.9 kB / 330.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.2346, allocations: 72 kB / 330.8 MB, free: 4.727 MB / 298.7 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.004641/0.2392, allocations: 313.4 kB / 331.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007324/0.2399, allocations: 345.2 kB / 331.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005575/0.2405, allocations: 401.8 kB / 331.9 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.2405, allocations: 32 kB / 331.9 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/0.2406, allocations: 4 kB / 331.9 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.2406, allocations: 15.94 kB / 331.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.2578, allocations: 4.507 MB / 336.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.2578, allocations: 12 kB / 336.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007022/0.2648, allocations: 1.208 MB / 337.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004734/0.2696, allocations: 340.3 kB / 338 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00074/0.2703, allocations: 256.7 kB / 338.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006844/0.271, allocations: 123.9 kB / 338.4 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009344/0.2804, allocations: 8.92 MB / 347.3 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-05/0.2804, allocations: 23.88 kB / 347.3 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.2847, allocations: 2.921 MB / 350.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007996/0.2855, allocations: 116 kB / 350.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.2872, allocations: 279.8 kB / 350.6 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.2875, allocations: 305.5 kB / 350.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.2877, allocations: 95.92 kB / 351 MB, free: 15.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001223/0.2889, allocations: 0.8484 MB / 351.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2889, allocations: 4 kB / 351.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003122/0.292, allocations: 1.353 MB / 353.2 MB, free: 13.76 MB / 330.7 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.000404/0.2925, allocations: 274.3 kB / 353.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.2954, allocations: 2.131 MB / 355.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.45e-05/0.2955, allocations: 64.34 kB / 355.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.2971, allocations: 1.717 MB / 357.4 MB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.2999, allocations: 0.9944 MB / 358.4 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.3142, allocations: 9.501 MB / 367.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.3152, allocations: 1.1 MB / 369 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001896/0.3171, allocations: 428 kB / 369.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/0.3189, allocations: 0.9285 MB / 370.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.3189, allocations: 0 / 370.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of Templates: time 0.1859/0.5048, allocations: 58.61 MB / 428.9 MB, free: 116.1 MB / 378.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.209312244318426]