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.001026/0.001026, allocations: 90.58 kB / 21.43 MB, free: 3.062 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.001478/0.001478, allocations: 166.4 kB / 24.82 MB, free: 9.25 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.121/1.121, allocations: 177 MB / 205.1 MB, free: 5.484 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 2.434e-06/2.434e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.275e-05, allocations: 9.203 kB / 273.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007887/0.00792, allocations: 6.399 MB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.01228, allocations: 1.707 MB / 281.5 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.01297, allocations: 23.94 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.0136, allocations: 261.8 kB / 281.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009694/0.01457, allocations: 0.5352 MB / 282.3 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.01533, allocations: 463.2 kB / 282.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1361/0.1514, allocations: 8.006 MB / 290.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002364/0.1538, allocations: 1.534 MB / 292.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.159, allocations: 4.058 MB / 296.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.1625, allocations: 3.228 MB / 299.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009014/0.1634, allocations: 0.6607 MB / 300.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009847/0.1644, allocations: 0.6593 MB / 300.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009643/0.1653, allocations: 1.626 MB / 302.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001553/0.1669, allocations: 2.16 MB / 304.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.1729, allocations: 5.187 MB / 309.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1729, allocations: 8.141 kB / 309.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1729, allocations: 0 / 309.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002808/0.1732, allocations: 1.094 kB / 309.9 MB, free: 10.34 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.008612/0.1818, allocations: 5.847 MB / 315.7 MB, free: 6.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1819, allocations: 8.031 kB / 315.7 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.1829, allocations: 0.8598 MB / 316.6 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.1854, allocations: 2.134 MB / 318.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.1855, allocations: 315.6 kB / 319.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004674/0.186, allocations: 472.1 kB / 319.5 MB, free: 2.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/0.1907, allocations: 4.798 MB / 324.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-05/0.1908, allocations: 4.188 kB / 324.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002946/0.1911, allocations: 179.6 kB / 324.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.1913, allocations: 200.4 kB / 324.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.1937, allocations: 1.229 MB / 325.9 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.2117, allocations: 11.78 MB / 337.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.2142, allocations: 2.406 MB / 340.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.2159, allocations: 1.568 MB / 341.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.216, allocations: 58.81 kB / 341.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.484e-05/0.2161, allocations: 92.69 kB / 341.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 5.711e-06/0.2161, allocations: 0 / 341.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.004278/0.2204, allocations: 2.536 MB / 344.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.2206, allocations: 299.1 kB / 344.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.2232, allocations: 2.156 MB / 346.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003052/0.2235, allocations: 109.7 kB / 346.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.2247, allocations: 1.861 MB / 348.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.2258, allocations: 1.397 MB / 350.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.2266, allocations: 0.7207 MB / 350.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2267, allocations: 480.8 kB / 351.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.2274, allocations: 443.1 kB / 351.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.2285, allocations: 1.098 MB / 352.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.2315, allocations: 2.643 MB / 355.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.2315, allocations: 0 / 355.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.003104/0.2346, allocations: 2.332 MB / 357.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2346, allocations: 8.625 kB / 357.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2346, allocations: 0 / 357.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007016/0.2353, allocations: 318.5 kB / 358.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.2371, allocations: 0.8665 MB / 359 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/0.2415, allocations: 8.539 MB / 367.6 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.2431, allocations: 289.6 kB / 367.9 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.2432, allocations: 76 kB / 367.9 MB, free: 2.262 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.001245/0.2444, allocations: 358.7 kB / 368.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005912/0.245, allocations: 434.1 kB / 368.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.2454, allocations: 401.8 kB / 369.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.2454, allocations: 39.94 kB / 369.1 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/0.2455, allocations: 4 kB / 369.2 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.2455, allocations: 19.92 kB / 369.2 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007857/0.2533, allocations: 5.883 MB / 375.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.2534, allocations: 24.19 kB / 375.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/0.2553, allocations: 0.7802 MB / 375.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/0.2559, allocations: 285.7 kB / 376.1 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.2562, allocations: 127.9 kB / 376.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007043/0.2632, allocations: 13.07 MB / 389.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.2632, allocations: 19.88 kB / 389.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/0.2683, allocations: 3.603 MB / 393 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.2694, allocations: 433.1 kB / 393.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.2697, allocations: 123.9 kB / 393.5 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.271, allocations: 275.8 kB / 393.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00034/0.2713, allocations: 317.4 kB / 394.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.2715, allocations: 95.98 kB / 394.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.2726, allocations: 1.141 MB / 395.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2726, allocations: 0 / 395.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002657/0.2753, allocations: 1.357 MB / 396.7 MB, free: 3.91 MB / 346.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.0005037/0.2758, allocations: 287.5 kB / 397 MB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.279, allocations: 2.582 MB / 399.5 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.279, allocations: 14.59 kB / 399.5 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.2807, allocations: 2.216 MB / 401.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.283, allocations: 0.6833 MB / 402.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.2964, allocations: 9.812 MB / 412.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.2977, allocations: 1.237 MB / 413.5 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001799/0.2995, allocations: 423 kB / 413.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/0.3014, allocations: 0.9782 MB / 414.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of SimCode: time 3.246e-06/0.3014, allocations: 0 / 414.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of Templates: time 0.1885/0.4899, allocations: 52.19 MB / 467.1 MB, free: 100.1 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 -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.4103239378891885]