Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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.001475/0.001475, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001666/0.001666, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.57/1.57, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 75.86 kB / 378.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2959, allocations: 53.4 MB / 431.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005006/0.3009, allocations: 3.284 MB / 435 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3026, allocations: 0.8555 MB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.3029, allocations: 4 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.3031, allocations: 79.22 kB / 435.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.3035, allocations: 146.7 kB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.3039, allocations: 211.6 kB / 436.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000712/0.3046, allocations: 0.6154 MB / 436.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.305, allocations: 145.4 kB / 437 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.3053, allocations: 255.1 kB / 437.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.3056, allocations: 242.9 kB / 437.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-05/0.3057, allocations: 63.98 kB / 437.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.721e-05/0.3058, allocations: 60 kB / 437.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3059, allocations: 123.6 kB / 437.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.3062, allocations: 235 kB / 438 MB, free: 364 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.3069, allocations: 0.6188 MB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.3069, allocations: 4 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3069, allocations: 0 / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3069, allocations: 0 / 438.6 MB, free: 15.73 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.001622/0.3085, allocations: 0.7835 MB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3086, allocations: 8.031 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3087, allocations: 64.61 kB / 439.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.3092, allocations: 280.7 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3092, allocations: 37.38 kB / 439.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.3093, allocations: 44.38 kB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3103, allocations: 0.7727 MB / 440.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3103, allocations: 0 / 440.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.3104, allocations: 16 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.3104, allocations: 12 kB / 440.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006852/0.3111, allocations: 323.8 kB / 440.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.3134, allocations: 1.315 MB / 442.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/0.314, allocations: 194.5 kB / 442.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3142, allocations: 89.45 kB / 442.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3142, allocations: 0 / 442.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005065/0.3147, allocations: 328.4 kB / 442.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.312e-06/0.3147, allocations: 4 kB / 442.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001428/0.3161, allocations: 466.4 kB / 443.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.3163, allocations: 324.3 kB / 443.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3167, allocations: 304.1 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3167, allocations: 37.7 kB / 443.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3169, allocations: 280.1 kB / 444.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.317, allocations: 91.22 kB / 444.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.3171, allocations: 86.02 kB / 444.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3173, allocations: 334.8 kB / 444.7 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3175, allocations: 130.4 kB / 444.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.318, allocations: 0.535 MB / 445.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.3186, allocations: 330.9 kB / 445.7 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3186, allocations: 8 kB / 445.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001151/0.3197, allocations: 0.5509 MB / 446.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.3198, allocations: 29.7 kB / 446.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.3198, allocations: 7.938 kB / 446.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.3204, allocations: 174.4 kB / 446.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.3206, allocations: 47.91 kB / 446.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.3253, allocations: 4.527 MB / 451 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.3257, allocations: 55.7 kB / 451.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.3257, allocations: 19.94 kB / 451.1 MB, free: 2.238 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.0002759/0.326, allocations: 173.2 kB / 451.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.3261, allocations: 31.81 kB / 451.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.865e-05/0.3262, allocations: 38.98 kB / 451.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3262, allocations: 4 kB / 451.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3262, allocations: 0 / 451.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3262, allocations: 3.984 kB / 451.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.3266, allocations: 297.2 kB / 451.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3266, allocations: 7.938 kB / 451.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.3268, allocations: 39.97 kB / 451.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.3271, allocations: 103.3 kB / 451.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.3271, allocations: 8 kB / 451.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004875/0.332, allocations: 5.248 MB / 457 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.332, allocations: 0 / 457 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.3328, allocations: 356.9 kB / 457.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.3329, allocations: 35.8 kB / 457.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.3329, allocations: 8 kB / 457.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.3332, allocations: 31.97 kB / 457.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.3333, allocations: 51.91 kB / 457.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3333, allocations: 12 kB / 457.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002643/0.3336, allocations: 215.1 kB / 457.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3336, allocations: 0 / 457.7 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006897/0.3343, allocations: 147.7 kB / 457.9 MB, free: 10.97 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.0001947/0.3345, allocations: 115.1 kB / 458 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.336, allocations: 0.7277 MB / 458.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.336, allocations: 0 / 458.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.337, allocations: 0.5774 MB / 459.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3373, allocations: 48.94 kB / 459.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3388, allocations: 0.6822 MB / 460 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.339, allocations: 208.2 kB / 460.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002158/0.3392, allocations: 38.97 kB / 460.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.3393, allocations: 31.42 kB / 460.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3393, allocations: 0 / 460.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of Templates: time 0.01482/0.3541, allocations: 6.584 MB / 466.9 MB, free: 1.875 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/CompareLosslessLines/CompareLosslessLines.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.851342769339681]