Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2027/0.2027, allocations: 38.54 MB / 346.3 MB, free: 2.137 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.91 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.439, allocations: 61.3 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007631/0.4466, allocations: 5.063 MB / 0.538 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.4494, allocations: 1.323 MB / 0.5393 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.4497, allocations: 21.59 kB / 0.5393 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.4503, allocations: 121.9 kB / 0.5394 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008568/0.4511, allocations: 331.1 kB / 0.5397 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.4517, allocations: 165.3 kB / 0.5399 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.4527, allocations: 0.7093 MB / 0.5406 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.453, allocations: 104.2 kB / 0.5407 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.4537, allocations: 324.3 kB / 0.541 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.4546, allocations: 463.8 kB / 0.5414 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.4547, allocations: 44.69 kB / 0.5415 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.4549, allocations: 47.06 kB / 0.5415 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.4552, allocations: 238.6 kB / 0.5417 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.4557, allocations: 282.3 kB / 0.542 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.4566, allocations: 0.617 MB / 0.5426 GB, free: 14.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4566, allocations: 0 / 0.5426 GB, free: 14.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4566, allocations: 0 / 0.5426 GB, free: 14.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.4566, allocations: 1.438 kB / 0.5426 GB, free: 14.76 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002775/0.4594, allocations: 0.8821 MB / 0.5435 GB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4595, allocations: 9.812 kB / 0.5435 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.4597, allocations: 53.77 kB / 0.5435 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.4613, allocations: 0.5556 MB / 0.5441 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.4614, allocations: 28.16 kB / 0.5441 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.4615, allocations: 41.52 kB / 0.5442 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4627, allocations: 0.551 MB / 0.5447 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4627, allocations: 0 / 0.5447 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.228e-05/0.4628, allocations: 16.48 kB / 0.5447 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004712/0.4632, allocations: 94.58 kB / 0.5448 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.4641, allocations: 353.6 kB / 0.5451 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.4682, allocations: 2.028 MB / 0.5471 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4694, allocations: 371.3 kB / 0.5475 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.4701, allocations: 280.3 kB / 0.5477 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.4702, allocations: 7.688 kB / 0.5477 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.4702, allocations: 41.2 kB / 0.5478 GB, free: 11.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 3.166e-06/0.4702, allocations: 0 / 0.5478 GB, free: 11.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006305/0.4765, allocations: 1.937 MB / 0.5497 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.4766, allocations: 80.55 kB / 0.5498 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.4772, allocations: 381.9 kB / 0.5501 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.4773, allocations: 35.95 kB / 0.5501 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.4775, allocations: 257.6 kB / 0.5504 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.4777, allocations: 140.1 kB / 0.5505 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.478, allocations: 106.5 kB / 0.5506 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.4782, allocations: 356.2 kB / 0.551 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000525/0.4787, allocations: 242.7 kB / 0.5512 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.4793, allocations: 366.7 kB / 0.5516 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.4806, allocations: 0.6092 MB / 0.5521 GB, free: 8.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4806, allocations: 0 / 0.5521 GB, free: 8.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002574/0.4831, allocations: 1.017 MB / 0.5531 GB, free: 7.141 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4832, allocations: 7.938 kB / 0.5531 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4832, allocations: 4 kB / 0.5532 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.4846, allocations: 409.5 kB / 0.5535 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.485, allocations: 75.84 kB / 0.5536 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/0.4925, allocations: 4.936 MB / 0.5584 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.493, allocations: 39.95 kB / 0.5585 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.4931, allocations: 23.98 kB / 0.5585 GB, free: 1.426 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004155/0.4935, allocations: 201.1 kB / 0.5587 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.4937, allocations: 47.7 kB / 0.5587 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4958, allocations: 0.8309 MB / 0.5595 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.4958, allocations: 4 kB / 0.5595 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.4958, allocations: 4 kB / 0.5596 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4958, allocations: 0 / 0.5596 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.499, allocations: 1.387 MB / 0.5609 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.499, allocations: 0 / 0.5609 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.4992, allocations: 39.92 kB / 0.5609 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.5008, allocations: 449.4 kB / 0.5614 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.136e-05/0.5009, allocations: 39.91 kB / 0.5614 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007348/0.5082, allocations: 6.297 MB / 0.5676 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.5082, allocations: 4.031 kB / 0.5676 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.5108, allocations: 1.122 MB / 0.5687 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.511, allocations: 47.59 kB / 0.5687 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5111, allocations: 31.98 kB / 0.5687 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.5116, allocations: 39.94 kB / 0.5688 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.5117, allocations: 39.86 kB / 0.5688 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.5118, allocations: 11.98 kB / 0.5688 GB, free: 6.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004604/0.5122, allocations: 267.1 kB / 0.5691 GB, free: 5.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5122, allocations: 0 / 0.5691 GB, free: 5.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001018/0.5133, allocations: 156 kB / 0.5692 GB, free: 5.793 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.5135, allocations: 115.2 kB / 0.5693 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.5157, allocations: 0.868 MB / 0.5702 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.5157, allocations: 0 / 0.5702 GB, free: 4.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.5176, allocations: 0.8571 MB / 0.571 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5187, allocations: 129.8 kB / 0.5711 GB, free: 3.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004035/0.5227, allocations: 1.856 MB / 0.573 GB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.5234, allocations: 0.8859 MB / 0.5738 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003127/0.5237, allocations: 76.33 kB / 0.5739 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.5238, allocations: 35.38 kB / 0.5739 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5238, allocations: 0 / 0.5739 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of Templates: time 0.01809/0.5419, allocations: 8.032 MB / 0.5818 GB, free: 8.844 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Line.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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: 5.759427889250219]