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.001827/0.001827, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002458/0.002458, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.55 MB / 353.2 MB, free: 12.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="cs",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.002241/0.002241, allocations: 59.91 kB / 493.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3895, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005622/0.3952, allocations: 3.419 MB / 0.546 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3976, allocations: 1.377 MB / 0.5474 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3977, allocations: 8.062 kB / 0.5474 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.3987, allocations: 248.9 kB / 0.5476 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.3993, allocations: 281.8 kB / 0.5479 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3996, allocations: 118.9 kB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.4001, allocations: 337.5 kB / 0.5483 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.4004, allocations: 115.8 kB / 0.5484 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.4007, allocations: 167.8 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.401, allocations: 170.6 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4011, allocations: 13.66 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.4015, allocations: 265.7 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.4017, allocations: 98.17 kB / 0.5491 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4018, allocations: 92.61 kB / 0.5492 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.4023, allocations: 343.2 kB / 0.5495 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4023, allocations: 3.938 kB / 0.5495 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4023, allocations: 1.438 kB / 0.5495 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4024, allocations: 0 / 0.5495 GB, free: 11.14 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.0008157/0.4032, allocations: 447.2 kB / 0.55 GB, free: 10.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4032, allocations: 12.73 kB / 0.55 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.4032, allocations: 9.281 kB / 0.55 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.4033, allocations: 50.2 kB / 0.55 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008449/0.4041, allocations: 95.12 kB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.4045, allocations: 218.4 kB / 0.5503 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.4045, allocations: 15.56 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.4046, allocations: 19.59 kB / 0.5504 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.4051, allocations: 314.8 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4051, allocations: 4 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.4051, allocations: 5.969 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.4052, allocations: 20.83 kB / 0.5507 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.4056, allocations: 289.6 kB / 0.551 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/0.4073, allocations: 1.202 MB / 0.5521 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.4077, allocations: 157.7 kB / 0.5523 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.4078, allocations: 50.47 kB / 0.5523 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.4078, allocations: 2.719 kB / 0.5524 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.4078, allocations: 41.12 kB / 0.5524 GB, free: 8.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.4078, allocations: 0 / 0.5524 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006238/0.4084, allocations: 298.2 kB / 0.5527 GB, free: 8.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.4085, allocations: 79.42 kB / 0.5527 GB, free: 8.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.4087, allocations: 195.4 kB / 0.5529 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4087, allocations: 27.05 kB / 0.553 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4088, allocations: 168.2 kB / 0.5531 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.4089, allocations: 50.19 kB / 0.5532 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.4089, allocations: 49.12 kB / 0.5532 GB, free: 8.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4091, allocations: 328.1 kB / 0.5535 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.4092, allocations: 49.75 kB / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.4093, allocations: 147.4 kB / 0.5537 GB, free: 7.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.4096, allocations: 216.6 kB / 0.5539 GB, free: 7.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4096, allocations: 5.062 kB / 0.5539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003515/0.4099, allocations: 233.8 kB / 0.5542 GB, free: 7.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.41, allocations: 6.844 kB / 0.5542 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.41, allocations: 3.375 kB / 0.5542 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.41, allocations: 8.656 kB / 0.5542 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.4102, allocations: 43.55 kB / 0.5542 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4102, allocations: 8.422 kB / 0.5542 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4103, allocations: 8.281 kB / 0.5542 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.4103, allocations: 8.719 kB / 0.5542 GB, free: 7.289 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.0001949/0.4105, allocations: 165.9 kB / 0.5544 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.4105, allocations: 15.78 kB / 0.5544 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.4108, allocations: 154 kB / 0.5546 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4108, allocations: 2.094 kB / 0.5546 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4108, allocations: 1.031 kB / 0.5546 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4108, allocations: 5.016 kB / 0.5546 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.4117, allocations: 0.623 MB / 0.5552 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4117, allocations: 11.45 kB / 0.5552 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4118, allocations: 25.09 kB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.4119, allocations: 8.578 kB / 0.5552 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4119, allocations: 4.531 kB / 0.5552 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.4119, allocations: 8.469 kB / 0.5552 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.4119, allocations: 8.75 kB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4123, allocations: 337.7 kB / 0.5556 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.4123, allocations: 29.19 kB / 0.5556 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.4123, allocations: 4.438 kB / 0.5556 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.4125, allocations: 12.67 kB / 0.5556 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.4125, allocations: 23.7 kB / 0.5556 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.4125, allocations: 8.375 kB / 0.5556 GB, free: 6.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4127, allocations: 140.4 kB / 0.5558 GB, free: 6 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 0.5558 GB, free: 6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.413, allocations: 43.62 kB / 0.5558 GB, free: 5.996 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.0007312/0.4138, allocations: 0.8754 MB / 0.5567 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.4141, allocations: 140.1 kB / 0.5568 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4141, allocations: 1.312 kB / 0.5568 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.4142, allocations: 62.08 kB / 0.5569 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.4147, allocations: 46.12 kB / 0.5569 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.4177, allocations: 2.415 MB / 0.5593 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.4179, allocations: 151.9 kB / 0.5594 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.418, allocations: 45.59 kB / 0.5594 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.4181, allocations: 55.42 kB / 0.5595 GB, free: 2.188 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4181, allocations: 0 / 0.5595 GB, free: 2.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.4413, allocations: 3.789 MB / 0.5632 GB, free: 14.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.91, allocations: 6.641 kB / 0.5632 GB, free: 14.54 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.039977803942747]