Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.001246/0.001246, allocations: 112 kB / 20.43 MB, free: 1.465 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.001333/0.001333, allocations: 186.4 kB / 23.71 MB, free: 4.715 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.56/1.56, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1855/0.1855, allocations: 38.54 MB / 346.3 MB, free: 2.152 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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.89 kB / 484.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.395, allocations: 61.29 MB / 0.533 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005633/0.4006, allocations: 3.554 MB / 0.5365 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.4025, allocations: 1.467 MB / 0.5379 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4026, allocations: 14.22 kB / 0.5379 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.4034, allocations: 262.2 kB / 0.5382 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.4039, allocations: 282.7 kB / 0.5385 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.4042, allocations: 109.8 kB / 0.5386 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.4045, allocations: 341 kB / 0.5389 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.4047, allocations: 98.89 kB / 0.539 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.4049, allocations: 156 kB / 0.5391 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.4052, allocations: 161.4 kB / 0.5393 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.4052, allocations: 15.31 kB / 0.5393 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.4057, allocations: 316.2 kB / 0.5396 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.4058, allocations: 106.3 kB / 0.5397 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.4059, allocations: 110.1 kB / 0.5398 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.4063, allocations: 335.5 kB / 0.5401 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4064, allocations: 0 / 0.5401 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4064, allocations: 5.375 kB / 0.5401 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4064, allocations: 0 / 0.5401 GB, free: 0.5117 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006594/0.407, allocations: 458 kB / 0.5406 GB, free: 108 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4071, allocations: 8.906 kB / 0.5406 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.4079, allocations: 92.72 kB / 0.5407 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.4083, allocations: 215.6 kB / 0.5409 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4083, allocations: 12 kB / 0.5409 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.4084, allocations: 24.91 kB / 0.5409 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.4089, allocations: 315.5 kB / 0.5412 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4089, allocations: 1.125 kB / 0.5412 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.409, allocations: 6.469 kB / 0.5412 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.409, allocations: 24.27 kB / 0.5412 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.4096, allocations: 287.3 kB / 0.5415 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.4115, allocations: 1.251 MB / 0.5427 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.4121, allocations: 210.2 kB / 0.5429 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.4122, allocations: 52.64 kB / 0.543 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4123, allocations: 10.17 kB / 0.543 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.4123, allocations: 35.81 kB / 0.543 GB, free: 14.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.4123, allocations: 0 / 0.543 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001009/0.4133, allocations: 366.1 kB / 0.5434 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.4134, allocations: 78.8 kB / 0.5435 GB, free: 13.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4136, allocations: 198.8 kB / 0.5437 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.4136, allocations: 27.02 kB / 0.5437 GB, free: 13.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4137, allocations: 165 kB / 0.5438 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.4138, allocations: 53.22 kB / 0.5439 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.4139, allocations: 45.77 kB / 0.5439 GB, free: 13.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4141, allocations: 335.7 kB / 0.5442 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.4142, allocations: 53.06 kB / 0.5443 GB, free: 13.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.4143, allocations: 145.8 kB / 0.5444 GB, free: 12.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.4147, allocations: 226.4 kB / 0.5447 GB, free: 12.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4147, allocations: 1.312 kB / 0.5447 GB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004939/0.4152, allocations: 261.3 kB / 0.5449 GB, free: 12.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4152, allocations: 5.75 kB / 0.5449 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4152, allocations: 7.922 kB / 0.5449 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.4155, allocations: 42.36 kB / 0.545 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4156, allocations: 43.91 kB / 0.545 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.4172, allocations: 1.344 MB / 0.5463 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4173, allocations: 8.594 kB / 0.5463 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.4173, allocations: 9.625 kB / 0.5463 GB, free: 11.21 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.4175, allocations: 153.6 kB / 0.5465 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.4175, allocations: 19.03 kB / 0.5465 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.418, allocations: 196.6 kB / 0.5467 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.418, allocations: 7.25 kB / 0.5467 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.418, allocations: 0 / 0.5467 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.418, allocations: 1.062 kB / 0.5467 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.4192, allocations: 0.5329 MB / 0.5472 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4192, allocations: 2.188 kB / 0.5472 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4193, allocations: 24.48 kB / 0.5472 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.4195, allocations: 31.02 kB / 0.5473 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4195, allocations: 6.188 kB / 0.5473 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.4211, allocations: 1.32 MB / 0.5486 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4211, allocations: 9.562 kB / 0.5486 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.4216, allocations: 293.6 kB / 0.5488 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.4217, allocations: 22.47 kB / 0.5489 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.4217, allocations: 3.25 kB / 0.5489 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4218, allocations: 10.11 kB / 0.5489 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.4219, allocations: 20.34 kB / 0.5489 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4219, allocations: 4.375 kB / 0.5489 GB, free: 8.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.4221, allocations: 142.6 kB / 0.549 GB, free: 8.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4221, allocations: 0 / 0.549 GB, free: 8.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.4225, allocations: 52.53 kB / 0.5491 GB, free: 8.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001365/0.4226, allocations: 104.4 kB / 0.5492 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.4232, allocations: 259 kB / 0.5494 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4232, allocations: 5.094 kB / 0.5494 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.4235, allocations: 172.4 kB / 0.5496 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.4239, allocations: 31.09 kB / 0.5496 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.4248, allocations: 459.9 kB / 0.5501 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.4252, allocations: 0.7654 MB / 0.5508 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.4254, allocations: 46.81 kB / 0.5509 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.4254, allocations: 17.56 kB / 0.5509 GB, free: 7.152 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4254, allocations: 0 / 0.5509 GB, free: 7.152 MB / 398.1 MB Notification: Performance of Templates: time 0.006375/0.4318, allocations: 1.833 MB / 0.5527 GB, free: 6.25 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.374601144343615]