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.0008609/0.0008609, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001928, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007007/0.0007007, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000935/0.001636, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9773/0.9773, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08517/1.063, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.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.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 3.016e-06/3.016e-06, allocations: 4 kB / 244.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.861e-05, allocations: 6.25 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003096/0.003114, allocations: 3.585 MB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004359, allocations: 0.9189 MB / 249.1 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.004522, allocations: 4 kB / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.004634, allocations: 83.16 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.004851, allocations: 154.6 kB / 249.3 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.005115, allocations: 199.7 kB / 249.5 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.005542, allocations: 0.6346 MB / 250.1 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.005733, allocations: 163.2 kB / 250.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.006062, allocations: 419.8 kB / 250.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.006259, allocations: 215.3 kB / 250.9 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.006317, allocations: 60 kB / 251 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/0.006372, allocations: 56 kB / 251 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.006431, allocations: 87.75 kB / 251.1 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.006551, allocations: 163.7 kB / 251.3 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.006855, allocations: 382.6 kB / 251.6 MB, free: 7.168 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.006868, allocations: 0 / 251.6 MB, free: 7.168 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006868, allocations: 0 / 251.6 MB, free: 7.168 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.006883, allocations: 4 kB / 251.6 MB, free: 7.164 MB / 250.7 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.001058/0.00794, allocations: 0.8599 MB / 252.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.007973, allocations: 12.03 kB / 252.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.008076, allocations: 80.86 kB / 252.6 MB, free: 6.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.008383, allocations: 229.3 kB / 252.8 MB, free: 5.926 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.008414, allocations: 37.38 kB / 252.9 MB, free: 5.891 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.008466, allocations: 48.38 kB / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.00898, allocations: 0.6365 MB / 253.5 MB, free: 5.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.008994, allocations: 4.172 kB / 253.5 MB, free: 5.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.009027, allocations: 23.94 kB / 253.6 MB, free: 5.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.009039, allocations: 12 kB / 253.6 MB, free: 5.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.009213, allocations: 107 kB / 253.7 MB, free: 4.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.0106, allocations: 1.168 MB / 254.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.0108, allocations: 133.4 kB / 255 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.01086, allocations: 48.84 kB / 255 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01088, allocations: 4 kB / 255 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.0111, allocations: 264.4 kB / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.0111, allocations: 0 / 255.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006023/0.0117, allocations: 310.6 kB / 255.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.01174, allocations: 63.33 kB / 255.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.01192, allocations: 274.8 kB / 255.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01194, allocations: 29.7 kB / 256 MB, free: 2.512 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01206, allocations: 260.6 kB / 256.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.01212, allocations: 99.14 kB / 256.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-05/0.01221, allocations: 74.03 kB / 256.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.0123, allocations: 342.7 kB / 256.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.01237, allocations: 62.44 kB / 256.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.01259, allocations: 491.9 kB / 257.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.01278, allocations: 228.2 kB / 257.5 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01278, allocations: 0 / 257.5 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004766/0.01326, allocations: 396.3 kB / 257.9 MB, free: 380 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.01329, allocations: 37.3 kB / 257.9 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.0133, allocations: 4 kB / 257.9 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004875/0.01379, allocations: 198.3 kB / 258.1 MB, free: 128 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.01392, allocations: 51.92 kB / 258.1 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.01636, allocations: 4.038 MB / 262.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.01655, allocations: 63.7 kB / 262.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01657, allocations: 12 kB / 262.3 MB, free: 11.7 MB / 266.7 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.0001056/0.01668, allocations: 141.8 kB / 262.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.01671, allocations: 27.97 kB / 262.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.01675, allocations: 38.98 kB / 262.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01675, allocations: 3.938 kB / 262.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.01676, allocations: 4 kB / 262.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.01677, allocations: 3.984 kB / 262.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.01706, allocations: 193.6 kB / 262.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01706, allocations: 4 kB / 262.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.0172, allocations: 55.89 kB / 262.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.01724, allocations: 27.75 kB / 262.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.01749, allocations: 115.3 kB / 262.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.01751, allocations: 11.94 kB / 262.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.0199, allocations: 4.863 MB / 267.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0199, allocations: 0 / 267.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.02018, allocations: 240.2 kB / 268 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.02021, allocations: 8 kB / 268 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.02034, allocations: 27.98 kB / 268 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.02043, allocations: 55.91 kB / 268.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.02044, allocations: 4 kB / 268.1 MB, free: 5.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.02052, allocations: 96.64 kB / 268.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02052, allocations: 0 / 268.2 MB, free: 5.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.02093, allocations: 155.7 kB / 268.3 MB, free: 5.227 MB / 266.7 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 8.424e-05/0.02101, allocations: 92.58 kB / 268.4 MB, free: 5.129 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.02156, allocations: 0.6341 MB / 269 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/0.02157, allocations: 11.97 kB / 269 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.02191, allocations: 0.5363 MB / 269.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.02213, allocations: 99.23 kB / 269.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.02509, allocations: 0.7003 MB / 270.4 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.02515, allocations: 109.8 kB / 270.5 MB, free: 2.875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.02527, allocations: 38.97 kB / 270.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/0.02547, allocations: 139.3 kB / 270.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02547, allocations: 0 / 270.7 MB, free: 2.703 MB / 266.7 MB Notification: Performance of Templates: time 0.01015/0.03563, allocations: 6.872 MB / 277.5 MB, free: 11.92 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6314081074669957]