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.001096/0.001096, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.00118/0.00118, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.11/1.11, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.853e-06/1.853e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.768e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.00575/0.005788, allocations: 6.548 MB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.008439, allocations: 1.699 MB / 281.3 MB, free: 9.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003743/0.008813, allocations: 27.88 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.009319, allocations: 257.8 kB / 281.6 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.01008, allocations: 0.543 MB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.01068, allocations: 471.2 kB / 282.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1463/0.1569, allocations: 7.995 MB / 290.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004238/0.1612, allocations: 1.535 MB / 292.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005692/0.1669, allocations: 4.056 MB / 296.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.171, allocations: 2.834 MB / 299 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.173, allocations: 0.6586 MB / 299.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1744, allocations: 0.6595 MB / 300.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.1755, allocations: 1.627 MB / 301.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003562/0.1791, allocations: 2.158 MB / 304.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.1831, allocations: 5.192 MB / 309.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1831, allocations: 3.688 kB / 309.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1831, allocations: 0 / 309.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002266/0.1833, allocations: 0 / 309.3 MB, free: 10.99 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.007568/0.1909, allocations: 6.283 MB / 315.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.191, allocations: 8.031 kB / 315.6 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.1918, allocations: 0.8571 MB / 316.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.1946, allocations: 2.368 MB / 318.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.1948, allocations: 316.5 kB / 319.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.1953, allocations: 472.1 kB / 319.6 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.2006, allocations: 5.094 MB / 324.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.676e-05/0.2006, allocations: 1.547 kB / 324.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003191/0.201, allocations: 176.6 kB / 324.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001871/0.2012, allocations: 204.4 kB / 325 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.2047, allocations: 1.623 MB / 326.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.2224, allocations: 13.59 MB / 340.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.2254, allocations: 2.605 MB / 342.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.2273, allocations: 1.74 MB / 344.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.2275, allocations: 58.81 kB / 344.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.508e-05/0.2276, allocations: 89.64 kB / 344.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 6.412e-06/0.2276, allocations: 0 / 344.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.004508/0.2321, allocations: 2.876 MB / 347.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.2322, allocations: 299.8 kB / 347.9 MB, free: 5.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.2347, allocations: 2.407 MB / 350.3 MB, free: 3.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.2349, allocations: 105.7 kB / 350.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.2359, allocations: 1.894 MB / 352.3 MB, free: 1.238 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008489/0.2367, allocations: 1.428 MB / 353.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007918/0.2375, allocations: 0.7397 MB / 354.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2377, allocations: 476.8 kB / 354.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2387, allocations: 0.5734 MB / 355.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.2401, allocations: 1.251 MB / 356.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.2439, allocations: 3.065 MB / 359.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.2439, allocations: 3.188 kB / 359.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.003744/0.2477, allocations: 2.621 MB / 362.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.2477, allocations: 8 kB / 362.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2477, allocations: 0 / 362.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008118/0.2485, allocations: 328 kB / 362.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.2505, allocations: 0.9207 MB / 363.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005197/0.2557, allocations: 8.704 MB / 372.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.2575, allocations: 377.5 kB / 372.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.2577, allocations: 112 kB / 372.9 MB, free: 12.17 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.001402/0.2591, allocations: 353 kB / 373.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/0.2597, allocations: 438.1 kB / 373.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.2601, allocations: 401.8 kB / 374.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.2601, allocations: 36.03 kB / 374.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.871e-05/0.2601, allocations: 7.984 kB / 374.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.2602, allocations: 15.94 kB / 374.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009043/0.2692, allocations: 7.205 MB / 381.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.2692, allocations: 16 kB / 381.3 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.2711, allocations: 0.8269 MB / 382.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005956/0.2717, allocations: 281.6 kB / 382.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/0.272, allocations: 127.9 kB / 382.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006067/0.278, allocations: 13.26 MB / 395.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/0.278, allocations: 19.94 kB / 395.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004758/0.2828, allocations: 3.917 MB / 399.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/0.2835, allocations: 445.1 kB / 400.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.2838, allocations: 123.9 kB / 400.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.2853, allocations: 407.6 kB / 400.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000336/0.2856, allocations: 305.5 kB / 401 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.2857, allocations: 120 kB / 401.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.2873, allocations: 1.333 MB / 402.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2873, allocations: 0 / 402.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002841/0.2901, allocations: 1.357 MB / 403.8 MB, free: 11.66 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.0003751/0.2905, allocations: 289.1 kB / 404.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.294, allocations: 2.849 MB / 406.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.294, allocations: 10.66 kB / 406.9 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.296, allocations: 2.326 MB / 409.3 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.2977, allocations: 0.6799 MB / 410 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.3099, allocations: 9.888 MB / 419.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.311, allocations: 1.233 MB / 421.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001698/0.3127, allocations: 0.9667 MB / 422 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006117/0.3133, allocations: 244.5 kB / 422.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3133, allocations: 0 / 422.3 MB, free: 8.625 MB / 378.7 MB Notification: Performance of Templates: time 0.1891/0.5024, allocations: 48.98 MB / 471.3 MB, free: 95.69 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 240] 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","",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.659317018929869]