Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001849/0.001849, allocations: 109.5 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.002329/0.002329, allocations: 184.3 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.521/1.521, allocations: 225.6 MB / 252.5 MB, free: 13 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.1994/0.1994, allocations: 38.54 MB / 346.3 MB, free: 2.129 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.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4258, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004479/0.4303, allocations: 3.593 MB / 0.5365 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.432, allocations: 1.526 MB / 0.538 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.4321, allocations: 8.406 kB / 0.538 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.4329, allocations: 263.5 kB / 0.5383 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.4334, allocations: 282.6 kB / 0.5386 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.4337, allocations: 123.2 kB / 0.5387 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003594/0.434, allocations: 346 kB / 0.539 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.4343, allocations: 95.23 kB / 0.5391 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.4345, allocations: 157.3 kB / 0.5392 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.4347, allocations: 165.4 kB / 0.5394 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.4347, allocations: 15.12 kB / 0.5394 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.4351, allocations: 350.9 kB / 0.5398 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.4352, allocations: 105.8 kB / 0.5399 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.4353, allocations: 104.7 kB / 0.54 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.4358, allocations: 349.8 kB / 0.5403 GB, free: 392 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4358, allocations: 3.938 kB / 0.5403 GB, free: 388 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4358, allocations: 1.531 kB / 0.5403 GB, free: 388 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4358, allocations: 0 / 0.5403 GB, free: 388 kB / 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.0006565/0.4365, allocations: 467.5 kB / 0.5407 GB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4365, allocations: 9.875 kB / 0.5407 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008828/0.4374, allocations: 92.78 kB / 0.5408 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.4378, allocations: 209.1 kB / 0.541 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4378, allocations: 11.56 kB / 0.541 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/0.4378, allocations: 16.31 kB / 0.5411 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/0.4385, allocations: 326.8 kB / 0.5414 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.4385, allocations: 3.938 kB / 0.5414 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.4385, allocations: 6 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.4386, allocations: 17.64 kB / 0.5414 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.439, allocations: 296.8 kB / 0.5417 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.4412, allocations: 1.235 MB / 0.5429 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.4418, allocations: 219.6 kB / 0.5431 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.442, allocations: 100 kB / 0.5432 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.442, allocations: 1.844 kB / 0.5432 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.4421, allocations: 36.12 kB / 0.5432 GB, free: 14.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.4421, allocations: 1.531 kB / 0.5432 GB, free: 14.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001031/0.4431, allocations: 447.1 kB / 0.5437 GB, free: 13.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.4432, allocations: 82.42 kB / 0.5437 GB, free: 13.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.4434, allocations: 205.5 kB / 0.5439 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.4434, allocations: 29.7 kB / 0.544 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4435, allocations: 159.6 kB / 0.5441 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.4436, allocations: 63.61 kB / 0.5442 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.4437, allocations: 48.64 kB / 0.5442 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4438, allocations: 327.7 kB / 0.5445 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.444, allocations: 96.62 kB / 0.5446 GB, free: 12.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.4442, allocations: 151.9 kB / 0.5448 GB, free: 12.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.4445, allocations: 267.2 kB / 0.545 GB, free: 12.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4445, allocations: 1.25 kB / 0.545 GB, free: 12.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000445/0.445, allocations: 292.9 kB / 0.5453 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.445, allocations: 10.5 kB / 0.5453 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.445, allocations: 2.406 kB / 0.5453 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.445, allocations: 11.22 kB / 0.5453 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.4453, allocations: 48.81 kB / 0.5454 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.4453, allocations: 11.3 kB / 0.5454 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.4454, allocations: 14.86 kB / 0.5454 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4455, allocations: 7.812 kB / 0.5454 GB, free: 12.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.4456, allocations: 152.6 kB / 0.5456 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.4457, allocations: 24.25 kB / 0.5456 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.4461, allocations: 233.6 kB / 0.5458 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4461, allocations: 11.31 kB / 0.5458 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4461, allocations: 0 / 0.5458 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4461, allocations: 1.094 kB / 0.5458 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.4475, allocations: 0.9173 MB / 0.5467 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4475, allocations: 7.875 kB / 0.5467 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.4477, allocations: 35.02 kB / 0.5467 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4477, allocations: 4.938 kB / 0.5468 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.4477, allocations: 13.83 kB / 0.5468 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.4477, allocations: 13.25 kB / 0.5468 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4477, allocations: 3.781 kB / 0.5468 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.4482, allocations: 405 kB / 0.5472 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.4483, allocations: 25.22 kB / 0.5472 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.4483, allocations: 13.97 kB / 0.5472 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4485, allocations: 14.73 kB / 0.5472 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4485, allocations: 23.86 kB / 0.5472 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4485, allocations: 12.84 kB / 0.5473 GB, free: 10.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4487, allocations: 155.8 kB / 0.5474 GB, free: 10.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4487, allocations: 0 / 0.5474 GB, free: 10.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.4491, allocations: 50.47 kB / 0.5474 GB, free: 10.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00014/0.4492, allocations: 112.3 kB / 0.5476 GB, free: 10.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.4496, allocations: 217.1 kB / 0.5478 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4496, allocations: 0 / 0.5478 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4498, allocations: 99.72 kB / 0.5479 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.4502, allocations: 42.95 kB / 0.5479 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4513, allocations: 0.5642 MB / 0.5485 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.4518, allocations: 0.7649 MB / 0.5492 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.4519, allocations: 48.59 kB / 0.5492 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.452, allocations: 27.25 kB / 0.5493 GB, free: 9.285 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.452, allocations: 0 / 0.5493 GB, free: 9.285 MB / 398.1 MB Notification: Performance of Templates: time 0.006633/0.4586, allocations: 2.108 MB / 0.5513 GB, free: 8.242 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.312559093348682]