Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.0017/0.0017, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002027/0.002027, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2673, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004927/0.2722, allocations: 3.283 MB / 435.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.2739, allocations: 0.8531 MB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.2741, allocations: 11.94 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.2743, allocations: 79.22 kB / 436.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.2747, allocations: 146.7 kB / 436.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.2751, allocations: 203.6 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006671/0.2758, allocations: 0.6154 MB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.2761, allocations: 165.4 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.2764, allocations: 247.2 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.2767, allocations: 290.8 kB / 438.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.2768, allocations: 56 kB / 438.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.2769, allocations: 64 kB / 438.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2771, allocations: 127.6 kB / 438.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.2773, allocations: 235 kB / 438.7 MB, free: 348 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.2779, allocations: 0.6184 MB / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2779, allocations: 0 / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.278, allocations: 0 / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.278, allocations: 0 / 439.3 MB, free: 15.72 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001615/0.2796, allocations: 0.7863 MB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2796, allocations: 8.031 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.2797, allocations: 60.61 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005117/0.2803, allocations: 288.6 kB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.283e-05/0.2803, allocations: 33.31 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.587e-05/0.2804, allocations: 48.38 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.2815, allocations: 0.7649 MB / 441.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2815, allocations: 3.984 kB / 441.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.2815, allocations: 24 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2816, allocations: 8 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.2823, allocations: 323.8 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.2845, allocations: 1.312 MB / 443 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.2851, allocations: 194.5 kB / 443.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.2853, allocations: 84.81 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.2853, allocations: 4 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.2858, allocations: 324.4 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.2858, allocations: 0 / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001522/0.2873, allocations: 466.4 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.2875, allocations: 320.4 kB / 444.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.2879, allocations: 308 kB / 444.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.2879, allocations: 41.7 kB / 444.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.2881, allocations: 280 kB / 444.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.2882, allocations: 95.2 kB / 445 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.2884, allocations: 78.02 kB / 445.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2885, allocations: 338.8 kB / 445.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.2888, allocations: 126.4 kB / 445.6 MB, free: 9.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.2894, allocations: 0.5351 MB / 446.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.2899, allocations: 335.1 kB / 446.4 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2899, allocations: 7.938 kB / 446.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001229/0.2911, allocations: 0.5548 MB / 447 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.2912, allocations: 37.69 kB / 447 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2912, allocations: 7.938 kB / 447 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.2919, allocations: 158.4 kB / 447.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.2921, allocations: 51.91 kB / 447.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.2966, allocations: 4.535 MB / 451.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.297, allocations: 63.7 kB / 451.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.297, allocations: 16 kB / 451.9 MB, free: 2.227 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.2972, allocations: 169.7 kB / 452 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.2973, allocations: 35.8 kB / 452.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.2974, allocations: 34.94 kB / 452.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2974, allocations: 7.984 kB / 452.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.2974, allocations: 4 kB / 452.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2974, allocations: 0 / 452.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.2978, allocations: 289.1 kB / 452.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2978, allocations: 8 kB / 452.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.2979, allocations: 31.97 kB / 452.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.2983, allocations: 99.36 kB / 452.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.2983, allocations: 11.98 kB / 452.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/0.3026, allocations: 5.248 MB / 457.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3026, allocations: 0 / 457.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.3034, allocations: 357.1 kB / 458.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.3035, allocations: 39.73 kB / 458.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.3035, allocations: 8 kB / 458.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.3038, allocations: 27.97 kB / 458.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.304, allocations: 55.91 kB / 458.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.304, allocations: 4 kB / 458.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.3043, allocations: 215.1 kB / 458.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3043, allocations: 0 / 458.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.3049, allocations: 155.7 kB / 458.6 MB, free: 10.96 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.3051, allocations: 119.2 kB / 458.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3064, allocations: 0.7238 MB / 459.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3064, allocations: 4 kB / 459.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.3072, allocations: 0.5774 MB / 460 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3076, allocations: 48.97 kB / 460.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.3089, allocations: 0.6834 MB / 460.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3091, allocations: 208.2 kB / 461 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001537/0.3092, allocations: 42.95 kB / 461 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.3093, allocations: 31.44 kB / 461 MB, free: 8.359 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3093, allocations: 0 / 461 MB, free: 8.359 MB / 366.1 MB Notification: Performance of Templates: time 0.01316/0.3225, allocations: 6.667 MB / 467.7 MB, free: 1.777 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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: 4.641266528997221]