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.001969/0.001969, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002031/0.002031, allocations: 159.1 kB / 23.95 MB, free: 4.168 MB / 14.72 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.383e-06/1.383e-06, allocations: 0 / 325.1 MB, free: 464 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.405e-05, allocations: 2.281 kB / 325.1 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.007226/0.00725, allocations: 5.861 MB / 330.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004336/0.01159, allocations: 1.675 MB / 332.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.01279, allocations: 31.78 kB / 332.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.01359, allocations: 258 kB / 332.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.0151, allocations: 0.5306 MB / 333.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.0161, allocations: 466.1 kB / 333.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00906/0.02516, allocations: 8.004 MB / 341.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/0.02784, allocations: 1.539 MB / 343.4 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007978/0.03582, allocations: 4.048 MB / 347.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006066/0.04188, allocations: 2.763 MB / 350.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.04401, allocations: 0.6562 MB / 350.9 MB, free: 11.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.04645, allocations: 0.6602 MB / 351.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.04838, allocations: 1.624 MB / 353.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.05349, allocations: 2.148 MB / 355.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.06386, allocations: 8.544 MB / 363.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.06387, allocations: 0 / 363.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.06387, allocations: 0 / 363.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.06416, allocations: 0 / 363.9 MB, free: 14.06 MB / 334.1 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.0154/0.07956, allocations: 5.918 MB / 369.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.07961, allocations: 8.031 kB / 369.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.08084, allocations: 0.5446 MB / 370.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/0.08617, allocations: 2.685 MB / 373 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.08647, allocations: 312.5 kB / 373.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008637/0.08733, allocations: 444.2 kB / 373.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.1012, allocations: 8.072 MB / 381.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.541e-05/0.1012, allocations: 192 / 381.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004938/0.1017, allocations: 176.4 kB / 382 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.102, allocations: 204.4 kB / 382.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.1131, allocations: 5.537 MB / 387.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03849/0.1516, allocations: 16.33 MB / 404.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007309/0.1589, allocations: 4.328 MB / 408.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004645/0.1635, allocations: 3.35 MB / 411.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.1636, allocations: 42.8 kB / 411.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.204e-05/0.1637, allocations: 85.88 kB / 411.9 MB, free: 13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=358): time 6.562e-06/0.1637, allocations: 0 / 411.9 MB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=358): time 0.01058/0.1743, allocations: 5.892 MB / 417.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.1745, allocations: 299.8 kB / 418 MB, free: 6.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/0.1799, allocations: 2.913 MB / 421 MB, free: 3.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006698/0.1805, allocations: 109.6 kB / 421.1 MB, free: 3.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.182, allocations: 1.741 MB / 422.8 MB, free: 1.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.1835, allocations: 1.301 MB / 424.1 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.1847, allocations: 0.6459 MB / 424.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1848, allocations: 313.1 kB / 425.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/0.1883, allocations: 2.123 MB / 427.2 MB, free: 13.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.1923, allocations: 2.66 MB / 429.8 MB, free: 10.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.2105, allocations: 8.934 MB / 438.8 MB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.2105, allocations: 0 / 438.8 MB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.009942/0.2204, allocations: 5.58 MB / 444.4 MB, free: 12.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.2205, allocations: 8 kB / 444.4 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.2205, allocations: 0 / 444.4 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.2216, allocations: 326.1 kB / 444.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/0.2259, allocations: 0.9166 MB / 445.6 MB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.2339, allocations: 7.28 MB / 452.9 MB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.2374, allocations: 381.7 kB / 453.3 MB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/0.2378, allocations: 108 kB / 453.4 MB, free: 2.777 MB / 414.1 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.002904/0.2407, allocations: 1.413 MB / 454.8 MB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008805/0.2416, allocations: 326.1 kB / 455.1 MB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.2425, allocations: 429.8 kB / 455.5 MB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.159e-05/0.2425, allocations: 36 kB / 455.5 MB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.541e-05/0.2425, allocations: 4 kB / 455.5 MB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/0.2426, allocations: 20.03 kB / 455.6 MB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/0.2629, allocations: 10.88 MB / 466.4 MB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/0.263, allocations: 16.25 kB / 466.5 MB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004011/0.267, allocations: 0.819 MB / 467.3 MB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008586/0.2678, allocations: 289.9 kB / 467.6 MB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/0.2681, allocations: 127.9 kB / 467.7 MB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2239/0.4921, allocations: 10.1 MB / 477.8 MB, free: 118.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-05/0.4921, allocations: 22.12 kB / 477.8 MB, free: 118.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.5061, allocations: 7.089 MB / 484.9 MB, free: 116.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.5078, allocations: 468.3 kB / 485.4 MB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/0.5087, allocations: 127.3 kB / 485.5 MB, free: 116.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/0.512, allocations: 412.7 kB / 485.9 MB, free: 116.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/0.5126, allocations: 304.5 kB / 486.2 MB, free: 116.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003191/0.5129, allocations: 116.4 kB / 486.3 MB, free: 116.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003211/0.5161, allocations: 2.058 MB / 488.3 MB, free: 115.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5161, allocations: 0 / 488.3 MB, free: 115.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005361/0.5215, allocations: 1.36 MB / 489.7 MB, free: 115.3 MB / 430.1 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.001058/0.5226, allocations: 293.1 kB / 490 MB, free: 115.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007194/0.5298, allocations: 4.948 MB / 494.9 MB, free: 113.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.489e-05/0.5298, allocations: 6.5 kB / 494.9 MB, free: 113.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004021/0.5338, allocations: 3.23 MB / 498.2 MB, free: 111.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005161/0.539, allocations: 0.6728 MB / 498.9 MB, free: 111.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.5561, allocations: 11.44 MB / 0.4983 GB, free: 101.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.5586, allocations: 2.686 MB / 0.501 GB, free: 99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003604/0.5622, allocations: 1.248 MB / 0.5022 GB, free: 97.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008322/0.563, allocations: 240.5 kB / 0.5024 GB, free: 97.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.383e-06/0.563, allocations: 0 / 0.5024 GB, free: 97.52 MB / 430.1 MB Notification: Performance of Templates: time 0.07291/0.6359, allocations: 48.76 MB / 0.55 GB, free: 49.39 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.880563721060753]