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.001015/0.001015, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0012/0.0012, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.009/1.009, allocations: 177 MB / 204.8 MB, free: 5.586 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.893e-06/1.893e-06, allocations: 0 / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.367e-05, allocations: 2.312 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.005252/0.005276, allocations: 6.551 MB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.008748, allocations: 1.711 MB / 281.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.009472, allocations: 27.88 kB / 281.3 MB, free: 9.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.01008, allocations: 253.9 kB / 281.5 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.01111, allocations: 0.539 MB / 282 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.01183, allocations: 467.2 kB / 282.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.132/0.1438, allocations: 7.999 MB / 290.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.1462, allocations: 1.537 MB / 292 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00546/0.1517, allocations: 4.054 MB / 296.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005484/0.1572, allocations: 2.829 MB / 298.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002484/0.1597, allocations: 0.66 MB / 299.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.162, allocations: 0.6618 MB / 300.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.1637, allocations: 1.625 MB / 301.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004147/0.1678, allocations: 2.163 MB / 304 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.1727, allocations: 5.191 MB / 309.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.1727, allocations: 1.062 kB / 309.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1727, allocations: 0 / 309.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000397/0.1731, allocations: 0 / 309.2 MB, free: 10.92 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.00949/0.1826, allocations: 6.282 MB / 315.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1827, allocations: 8.031 kB / 315.5 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.1837, allocations: 0.8571 MB / 316.4 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.1862, allocations: 2.364 MB / 318.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1863, allocations: 316.5 kB / 319 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.1867, allocations: 478.6 kB / 319.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/0.1918, allocations: 5.087 MB / 324.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.309e-05/0.1919, allocations: 4.188 kB / 324.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002807/0.1922, allocations: 175.6 kB / 324.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.1923, allocations: 208.4 kB / 325 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.1957, allocations: 1.623 MB / 326.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.2152, allocations: 13.59 MB / 340.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.2185, allocations: 2.605 MB / 342.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.2208, allocations: 1.733 MB / 344.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.2209, allocations: 70.12 kB / 344.6 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.625e-05/0.221, allocations: 92.7 kB / 344.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 5.971e-06/0.221, allocations: 0 / 344.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.005602/0.2266, allocations: 2.868 MB / 347.6 MB, free: 5.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.2267, allocations: 295.8 kB / 347.8 MB, free: 5.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.2306, allocations: 2.407 MB / 350.2 MB, free: 3.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004806/0.2311, allocations: 109.7 kB / 350.4 MB, free: 3.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.2327, allocations: 1.897 MB / 352.3 MB, free: 1.105 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001469/0.2342, allocations: 1.435 MB / 353.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.2353, allocations: 0.728 MB / 354.4 MB, free: 14.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2354, allocations: 484.7 kB / 354.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.2368, allocations: 0.5695 MB / 355.5 MB, free: 13.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.2386, allocations: 1.243 MB / 356.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005424/0.244, allocations: 3.077 MB / 359.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.244, allocations: 0 / 359.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.005172/0.2492, allocations: 2.617 MB / 362.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.2492, allocations: 4 kB / 362.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.2492, allocations: 3.984 kB / 362.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009908/0.2502, allocations: 331.4 kB / 362.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.253, allocations: 0.9176 MB / 363.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005906/0.259, allocations: 8.692 MB / 372.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.2615, allocations: 377.5 kB / 372.7 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.2618, allocations: 111.3 kB / 372.8 MB, free: 12.05 MB / 330.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.001682/0.2635, allocations: 361 kB / 373.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008136/0.2643, allocations: 438.1 kB / 373.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.2648, allocations: 397.8 kB / 374 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.2648, allocations: 36 kB / 374 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/0.2648, allocations: 4 kB / 374 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.2648, allocations: 15.94 kB / 374 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.2769, allocations: 7.224 MB / 381.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.2769, allocations: 12 kB / 381.3 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.2796, allocations: 0.8192 MB / 382.1 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007471/0.2804, allocations: 281.5 kB / 382.4 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002733/0.2806, allocations: 127.9 kB / 382.5 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007105/0.2878, allocations: 13.25 MB / 395.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.2878, allocations: 27.91 kB / 395.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.2933, allocations: 3.919 MB / 399.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008931/0.2942, allocations: 445.1 kB / 400.1 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/0.2945, allocations: 123.9 kB / 400.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/0.296, allocations: 415.6 kB / 400.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003785/0.2964, allocations: 301.5 kB / 400.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.2966, allocations: 119.9 kB / 401.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001831/0.2984, allocations: 1.325 MB / 402.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2984, allocations: 0 / 402.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002719/0.3011, allocations: 1.357 MB / 403.7 MB, free: 11.53 MB / 362.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.000472/0.3016, allocations: 293.1 kB / 404 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003728/0.3053, allocations: 2.847 MB / 406.9 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.3053, allocations: 14.72 kB / 406.9 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/0.3075, allocations: 2.317 MB / 409.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/0.3102, allocations: 0.688 MB / 409.9 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.3232, allocations: 9.902 MB / 419.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.3243, allocations: 1.225 MB / 421 MB, free: 9.695 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002238/0.3266, allocations: 0.955 MB / 422 MB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/0.3272, allocations: 244.5 kB / 422.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of SimCode: time 2.334e-06/0.3272, allocations: 0 / 422.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of Templates: time 0.1665/0.4936, allocations: 50.78 MB / 473 MB, free: 92.8 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.232983537018299]