Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.001842/0.001842, allocations: 112.4 kB / 20.43 MB, free: 1.449 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.002172/0.002172, allocations: 191.8 kB / 23.72 MB, free: 4.68 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.522/1.522, 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.2249/0.2249, allocations: 38.54 MB / 346.3 MB, free: 2.137 MB / 270.1 MB " [Timeout remaining time 179] 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.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 484.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4413, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006449/0.4478, allocations: 3.56 MB / 0.5365 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.4501, allocations: 1.471 MB / 0.5379 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.4504, allocations: 9.438 kB / 0.538 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.4515, allocations: 263.4 kB / 0.5382 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009005/0.4524, allocations: 286.2 kB / 0.5385 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.4528, allocations: 111.2 kB / 0.5386 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006334/0.4534, allocations: 342.5 kB / 0.5389 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.4537, allocations: 93.39 kB / 0.539 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.4541, allocations: 158.3 kB / 0.5391 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.4545, allocations: 166.6 kB / 0.5393 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.4545, allocations: 14.22 kB / 0.5393 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.4552, allocations: 313 kB / 0.5396 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.4553, allocations: 109.6 kB / 0.5397 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.4555, allocations: 105.8 kB / 0.5398 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.4563, allocations: 342.9 kB / 0.5402 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4563, allocations: 0 / 0.5402 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4563, allocations: 0 / 0.5402 GB, free: 492 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.4563, allocations: 1.438 kB / 0.5402 GB, free: 492 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.0009131/0.4572, allocations: 457.7 kB / 0.5406 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4572, allocations: 9.875 kB / 0.5406 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4582, allocations: 91.56 kB / 0.5407 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.4587, allocations: 205.6 kB / 0.5409 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.4587, allocations: 15.81 kB / 0.5409 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.4588, allocations: 23.94 kB / 0.5409 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.4594, allocations: 316.9 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4594, allocations: 0 / 0.5412 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.4595, allocations: 5.469 kB / 0.5412 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.4595, allocations: 20.7 kB / 0.5412 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.46, allocations: 293.1 kB / 0.5415 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.4621, allocations: 1.246 MB / 0.5427 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.4626, allocations: 160.9 kB / 0.5429 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4627, allocations: 55.62 kB / 0.543 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.4627, allocations: 9.156 kB / 0.543 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4627, allocations: 33.38 kB / 0.543 GB, free: 14.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.4627, allocations: 0 / 0.543 GB, free: 14.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007951/0.4635, allocations: 290.4 kB / 0.5433 GB, free: 14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.4636, allocations: 79.7 kB / 0.5433 GB, free: 13.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.4639, allocations: 194.6 kB / 0.5435 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.4639, allocations: 30.8 kB / 0.5436 GB, free: 13.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.464, allocations: 164.5 kB / 0.5437 GB, free: 13.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.4641, allocations: 54.06 kB / 0.5438 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.4642, allocations: 49.14 kB / 0.5438 GB, free: 13.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4643, allocations: 330.9 kB / 0.5441 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.4644, allocations: 46.69 kB / 0.5442 GB, free: 13.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4647, allocations: 143.8 kB / 0.5443 GB, free: 12.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.465, allocations: 221.8 kB / 0.5445 GB, free: 12.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.465, allocations: 1.5 kB / 0.5445 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004315/0.4654, allocations: 225.7 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4654, allocations: 6.938 kB / 0.5447 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4655, allocations: 7.281 kB / 0.5448 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.4655, allocations: 4.781 kB / 0.5448 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.4657, allocations: 50.84 kB / 0.5448 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.4657, allocations: 8.062 kB / 0.5448 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.4658, allocations: 8.906 kB / 0.5448 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.4658, allocations: 9.094 kB / 0.5448 GB, free: 12.63 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 (25): * Single equations (assignments): 25 * 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.0001839/0.466, allocations: 154.7 kB / 0.545 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.4661, allocations: 28.83 kB / 0.545 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4664, allocations: 149.7 kB / 0.5451 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4664, allocations: 2.312 kB / 0.5452 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4664, allocations: 1.125 kB / 0.5452 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4664, allocations: 5.141 kB / 0.5452 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.4675, allocations: 0.6361 MB / 0.5458 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4675, allocations: 3.75 kB / 0.5458 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4677, allocations: 28.92 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/0.4677, allocations: 8.656 kB / 0.5458 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4677, allocations: 13.75 kB / 0.5458 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.4677, allocations: 8.531 kB / 0.5458 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4677, allocations: 3.875 kB / 0.5458 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.4682, allocations: 335.8 kB / 0.5462 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.4682, allocations: 20.53 kB / 0.5462 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.4682, allocations: 13.42 kB / 0.5462 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4684, allocations: 4.406 kB / 0.5462 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.4684, allocations: 26.45 kB / 0.5462 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.4685, allocations: 7.531 kB / 0.5462 GB, free: 11.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.4686, allocations: 146.9 kB / 0.5464 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4686, allocations: 0 / 0.5464 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004137/0.4691, allocations: 42.34 kB / 0.5464 GB, free: 11.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0001309/0.4692, allocations: 106.1 kB / 0.5465 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.4695, allocations: 139.9 kB / 0.5466 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4695, allocations: 1.031 kB / 0.5466 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.4696, allocations: 62.16 kB / 0.5467 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.4701, allocations: 33.48 kB / 0.5467 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4712, allocations: 0.507 MB / 0.5472 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4717, allocations: 0.7538 MB / 0.548 GB, free: 9.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.4718, allocations: 49.91 kB / 0.548 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.4719, allocations: 16.94 kB / 0.548 GB, free: 9.934 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4719, allocations: 1.031 kB / 0.548 GB, free: 9.934 MB / 398.1 MB Notification: Performance of Templates: time 0.005708/0.4776, allocations: 1.512 MB / 0.5495 GB, free: 9.188 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.367312622256577]