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.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.001969/0.001969, allocations: 111.6 kB / 20.43 MB, free: 1.473 MB / 14.72 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.002453/0.002453, allocations: 212.9 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.184/0.184, allocations: 38.52 MB / 352.5 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 62.88 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004832/0.3474, allocations: 3.578 MB / 0.5455 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3496, allocations: 1.503 MB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3497, allocations: 10.09 kB / 0.547 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008321/0.3505, allocations: 266.4 kB / 0.5472 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.3511, allocations: 279 kB / 0.5475 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.3514, allocations: 110.6 kB / 0.5476 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.3519, allocations: 337.9 kB / 0.5479 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.3522, allocations: 119.1 kB / 0.548 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.3525, allocations: 163.3 kB / 0.5482 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3527, allocations: 162.9 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3528, allocations: 13.44 kB / 0.5483 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.3533, allocations: 326 kB / 0.5487 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3534, allocations: 98.16 kB / 0.5488 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3535, allocations: 109.4 kB / 0.5489 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.354, allocations: 340.3 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3541, allocations: 0 / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3541, allocations: 0 / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3541, allocations: 5.344 kB / 0.5492 GB, free: 10.98 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006868/0.3548, allocations: 455.8 kB / 0.5496 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3548, allocations: 14.08 kB / 0.5496 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.3549, allocations: 49.61 kB / 0.5497 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/0.3557, allocations: 95.28 kB / 0.5498 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.356, allocations: 206.1 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.356, allocations: 11.78 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.3561, allocations: 31.66 kB / 0.55 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.3566, allocations: 324.1 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3566, allocations: 1.25 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.3566, allocations: 10.34 kB / 0.5503 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.3567, allocations: 16.2 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.3571, allocations: 292 kB / 0.5506 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.3587, allocations: 1.243 MB / 0.5518 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.3591, allocations: 157.2 kB / 0.552 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.3592, allocations: 60.23 kB / 0.552 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3592, allocations: 1.062 kB / 0.552 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.3593, allocations: 32.72 kB / 0.5521 GB, free: 8.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.3593, allocations: 0 / 0.5521 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006668/0.3599, allocations: 295.1 kB / 0.5524 GB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.36, allocations: 82.2 kB / 0.5524 GB, free: 8.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.3602, allocations: 199.8 kB / 0.5526 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3603, allocations: 26.83 kB / 0.5527 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.3604, allocations: 169.2 kB / 0.5528 GB, free: 8.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.3604, allocations: 49.86 kB / 0.5529 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.3605, allocations: 44.44 kB / 0.5529 GB, free: 7.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3607, allocations: 331.9 kB / 0.5532 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.663e-05/0.3608, allocations: 45.91 kB / 0.5533 GB, free: 7.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3609, allocations: 139.5 kB / 0.5534 GB, free: 7.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3612, allocations: 221.9 kB / 0.5536 GB, free: 7.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3613, allocations: 1.469 kB / 0.5536 GB, free: 7.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003451/0.3616, allocations: 233.7 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3616, allocations: 6.125 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3616, allocations: 3.594 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3616, allocations: 4.812 kB / 0.5538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3618, allocations: 46.88 kB / 0.5539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3618, allocations: 5.344 kB / 0.5539 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3619, allocations: 8.312 kB / 0.5539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.3619, allocations: 10.34 kB / 0.5539 GB, free: 7.09 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.000155/0.3621, allocations: 168.7 kB / 0.5541 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.3621, allocations: 15.53 kB / 0.5541 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.3624, allocations: 150.8 kB / 0.5542 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3624, allocations: 1.281 kB / 0.5542 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3624, allocations: 5.125 kB / 0.5542 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3624, allocations: 8.75 kB / 0.5543 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3634, allocations: 0.6363 MB / 0.5549 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3634, allocations: 3.438 kB / 0.5549 GB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3635, allocations: 33.86 kB / 0.5549 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3635, allocations: 4.656 kB / 0.5549 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3636, allocations: 4.656 kB / 0.5549 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.3636, allocations: 8.797 kB / 0.5549 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3636, allocations: 7.531 kB / 0.5549 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3639, allocations: 328.8 kB / 0.5552 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.364, allocations: 36.73 kB / 0.5553 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.364, allocations: 5.438 kB / 0.5553 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3641, allocations: 7.25 kB / 0.5553 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3642, allocations: 31.47 kB / 0.5553 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3642, allocations: 7.688 kB / 0.5553 GB, free: 5.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3643, allocations: 141.1 kB / 0.5555 GB, free: 5.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3643, allocations: 0 / 0.5555 GB, free: 5.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.3647, allocations: 42.81 kB / 0.5555 GB, free: 5.766 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.0006293/0.3653, allocations: 0.8702 MB / 0.5564 GB, free: 4.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3655, allocations: 143.4 kB / 0.5565 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3656, allocations: 0 / 0.5565 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/0.3656, allocations: 62.78 kB / 0.5566 GB, free: 4.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3661, allocations: 45.03 kB / 0.5566 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.3689, allocations: 2.417 MB / 0.559 GB, free: 2.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.3693, allocations: 0.7748 MB / 0.5597 GB, free: 1.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.3694, allocations: 41.61 kB / 0.5598 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/0.3695, allocations: 55.41 kB / 0.5598 GB, free: 1.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3695, allocations: 4 kB / 0.5598 GB, free: 1.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3998, allocations: 3.756 MB / 0.5635 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.17, allocations: 5.219 kB / 0.5635 GB, free: 13.77 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins1/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: 14.080730804009363]