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.00117/0.00117, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009953/0.0009953, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.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.483e-06/1.483e-06, allocations: 3.938 kB / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.176e-05, allocations: 2.312 kB / 273.5 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.005255/0.005277, allocations: 6.45 MB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003247/0.008524, allocations: 1.784 MB / 281.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005836/0.009108, allocations: 23.94 kB / 281.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.009616, allocations: 257.8 kB / 282 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.01048, allocations: 0.5468 MB / 282.5 MB, free: 8.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.01113, allocations: 455.3 kB / 283 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1329/0.144, allocations: 8.02 MB / 291 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.1466, allocations: 1.586 MB / 292.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005553/0.1521, allocations: 4.056 MB / 296.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005131/0.1572, allocations: 3.228 MB / 299.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.1596, allocations: 0.6606 MB / 300.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.1609, allocations: 0.6588 MB / 301.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009455/0.1618, allocations: 1.628 MB / 302.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.1642, allocations: 2.158 MB / 305 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.1675, allocations: 5.189 MB / 310.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1675, allocations: 0 / 310.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1675, allocations: 0 / 310.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001484/0.1677, allocations: 1.312 kB / 310.2 MB, free: 10.39 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.005421/0.1731, allocations: 5.341 MB / 315.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1731, allocations: 12.03 kB / 315.5 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.1738, allocations: 0.6954 MB / 316.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.1753, allocations: 1.416 MB / 317.6 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1754, allocations: 318.7 kB / 317.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.1757, allocations: 475.2 kB / 318.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.1788, allocations: 4.873 MB / 323.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/0.1789, allocations: 8.188 kB / 323.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/0.1791, allocations: 172.6 kB / 323.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.1793, allocations: 207.9 kB / 323.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.1811, allocations: 1.031 MB / 324.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.1929, allocations: 9.796 MB / 334.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.1947, allocations: 2.186 MB / 336.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/0.1959, allocations: 1.413 MB / 338.1 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.196, allocations: 58.81 kB / 338.1 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.1961, allocations: 85.88 kB / 338.2 MB, free: 272 kB / 282.7 MB Notification: Performance of pre-optimization done (n=358): time 5.41e-06/0.1961, allocations: 3.938 kB / 338.2 MB, free: 268 kB / 282.7 MB Notification: Performance of matching and sorting (n=358): time 0.002665/0.1987, allocations: 1.992 MB / 340.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1989, allocations: 295.8 kB / 340.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.2002, allocations: 1.645 MB / 342.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.2003, allocations: 101.7 kB / 342.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005661/0.2009, allocations: 1.368 MB / 343.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006376/0.2015, allocations: 1.313 MB / 344.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/0.2022, allocations: 0.5892 MB / 345.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.2022, allocations: 301.1 kB / 345.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.2028, allocations: 382.9 kB / 346.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.2036, allocations: 0.8915 MB / 347.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.206, allocations: 2.476 MB / 349.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.206, allocations: 0 / 349.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.002162/0.2082, allocations: 1.749 MB / 351.3 MB, free: 3.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2082, allocations: 7.125 kB / 351.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2082, allocations: 0 / 351.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.2088, allocations: 282.6 kB / 351.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.2113, allocations: 1.248 MB / 352.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.2144, allocations: 5.952 MB / 358.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.2156, allocations: 285.7 kB / 359.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.2157, allocations: 76 kB / 359.1 MB, free: 11.45 MB / 314.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.0009244/0.2166, allocations: 320 kB / 359.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.217, allocations: 339.6 kB / 359.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003109/0.2173, allocations: 397.8 kB / 360.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.2174, allocations: 36 kB / 360.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/0.2174, allocations: 4 kB / 360.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.2174, allocations: 15.94 kB / 360.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/0.223, allocations: 4.507 MB / 364.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.223, allocations: 12 kB / 364.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/0.2254, allocations: 1.161 MB / 365.9 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.2259, allocations: 249.8 kB / 366.2 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.2261, allocations: 119.9 kB / 366.3 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/0.2297, allocations: 8.932 MB / 375.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.2297, allocations: 20.56 kB / 375.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.2325, allocations: 2.925 MB / 378.2 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.2329, allocations: 341.2 kB / 378.5 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.2332, allocations: 123.9 kB / 378.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.2344, allocations: 283.1 kB / 378.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/0.2347, allocations: 301.5 kB / 379.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.2348, allocations: 91.98 kB / 379.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007692/0.2356, allocations: 0.8519 MB / 380.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2356, allocations: 4 kB / 380.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002074/0.2377, allocations: 1.357 MB / 381.5 MB, free: 3.879 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.0003512/0.238, allocations: 274.3 kB / 381.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.2402, allocations: 2.123 MB / 383.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.649e-05/0.2403, allocations: 36.47 kB / 383.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.2415, allocations: 1.714 MB / 385.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.2432, allocations: 0.7101 MB / 386.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008937/0.2522, allocations: 8.307 MB / 394.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000765/0.2529, allocations: 1.011 MB / 395.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001064/0.254, allocations: 427.9 kB / 396.1 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/0.2558, allocations: 0.9208 MB / 397 MB, free: 3.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.853e-06/0.2558, allocations: 0 / 397 MB, free: 3.91 MB / 346.7 MB Notification: Performance of Templates: time 0.1721/0.4279, allocations: 54.49 MB / 451.5 MB, free: 114.5 MB / 378.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -emit_protected -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.157361275982112]