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.001413/0.001413, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001149/0.001149, allocations: 161 kB / 24.99 MB, free: 8.805 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.067/1.067, allocations: 177 MB / 205.2 MB, free: 5.625 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.693e-06/1.693e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.19e-05, allocations: 5.125 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.005293/0.005315, allocations: 6.517 MB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.007567, allocations: 1.718 MB / 281.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.00793, allocations: 23.94 kB / 281.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.008437, allocations: 253.9 kB / 281.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000701/0.009138, allocations: 0.539 MB / 282.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.009707, allocations: 471.3 kB / 282.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004734/0.01444, allocations: 8.009 MB / 290.6 MB, free: 140 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.137/0.1515, allocations: 1.527 MB / 292.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007841/0.1593, allocations: 4.049 MB / 296.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005698/0.165, allocations: 2.826 MB / 299 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002384/0.1674, allocations: 0.6603 MB / 299.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.1693, allocations: 0.6582 MB / 300.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.1707, allocations: 1.63 MB / 301.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004097/0.1748, allocations: 2.16 MB / 304.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.1788, allocations: 5.195 MB / 309.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1788, allocations: 0 / 309.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1788, allocations: 0 / 309.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002055/0.179, allocations: 0.8438 kB / 309.3 MB, free: 11.03 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.00749/0.1865, allocations: 6.279 MB / 315.5 MB, free: 6.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1866, allocations: 8.031 kB / 315.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000966/0.1876, allocations: 0.8641 MB / 316.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.1901, allocations: 2.361 MB / 318.8 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1902, allocations: 323.1 kB / 319.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.1906, allocations: 472.2 kB / 319.6 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005569/0.1962, allocations: 5.088 MB / 324.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-05/0.1963, allocations: 4.172 kB / 324.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/0.1966, allocations: 175.8 kB / 324.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.1967, allocations: 208 kB / 325 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/0.2004, allocations: 1.627 MB / 326.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/0.22, allocations: 13.59 MB / 340.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.2228, allocations: 2.604 MB / 342.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.2247, allocations: 1.74 MB / 344.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.2248, allocations: 62.81 kB / 344.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.808e-05/0.2249, allocations: 88.7 kB / 344.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=358): time 6.031e-06/0.2249, allocations: 0 / 344.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=358): time 0.004896/0.2298, allocations: 2.871 MB / 347.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2299, allocations: 295.8 kB / 347.9 MB, free: 5.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.2327, allocations: 2.407 MB / 350.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.2329, allocations: 101.7 kB / 350.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.2342, allocations: 1.905 MB / 352.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.2352, allocations: 1.432 MB / 353.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/0.236, allocations: 0.7397 MB / 354.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2361, allocations: 476.8 kB / 354.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.2373, allocations: 0.5695 MB / 355.5 MB, free: 14.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.2387, allocations: 1.251 MB / 356.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004197/0.2429, allocations: 3.069 MB / 359.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2429, allocations: 0 / 359.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.004311/0.2472, allocations: 2.621 MB / 362.5 MB, free: 7.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2472, allocations: 8.625 kB / 362.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2472, allocations: 0 / 362.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008628/0.2481, allocations: 326.9 kB / 362.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.2501, allocations: 0.9209 MB / 363.7 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.2548, allocations: 8.697 MB / 372.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.2569, allocations: 373.5 kB / 372.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.2571, allocations: 108 kB / 372.9 MB, free: 12.3 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.001275/0.2583, allocations: 366 kB / 373.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/0.259, allocations: 434.1 kB / 373.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.2594, allocations: 405.8 kB / 374 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.2594, allocations: 32 kB / 374.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/0.2595, allocations: 4.375 kB / 374.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.2595, allocations: 19.92 kB / 374.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009263/0.2688, allocations: 7.214 MB / 381.3 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.2688, allocations: 16 kB / 381.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/0.2709, allocations: 0.8232 MB / 382.2 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006503/0.2715, allocations: 277.5 kB / 382.4 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.2718, allocations: 131.9 kB / 382.6 MB, free: 2.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005849/0.2776, allocations: 13.25 MB / 395.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.2776, allocations: 31.89 kB / 395.8 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006074/0.2837, allocations: 3.908 MB / 399.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.2847, allocations: 445.1 kB / 400.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003353/0.2851, allocations: 127.9 kB / 400.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.2867, allocations: 415.6 kB / 400.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004559/0.2871, allocations: 301.5 kB / 401 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/0.2873, allocations: 124 kB / 401.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001785/0.2891, allocations: 1.317 MB / 402.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2891, allocations: 4 kB / 402.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003116/0.2922, allocations: 1.357 MB / 403.8 MB, free: 11.77 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.0004481/0.2927, allocations: 293.1 kB / 404.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.2965, allocations: 2.846 MB / 406.9 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/0.2965, allocations: 10.72 kB / 406.9 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/0.2985, allocations: 2.329 MB / 409.3 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/0.3019, allocations: 0.6817 MB / 410 MB, free: 5.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.3161, allocations: 9.887 MB / 419.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.3175, allocations: 1.233 MB / 421.1 MB, free: 9.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002635/0.3201, allocations: 0.955 MB / 422 MB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.3208, allocations: 244.5 kB / 422.3 MB, free: 8.742 MB / 378.7 MB Notification: Performance of SimCode: time 2.344e-06/0.3208, allocations: 3.938 kB / 422.3 MB, free: 8.738 MB / 378.7 MB Notification: Performance of Templates: time 0.1773/0.4981, allocations: 48.96 MB / 471.2 MB, free: 97.52 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 -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.536427730927244]