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.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.001306/0.001306, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001595/0.001595, allocations: 209.9 kB / 23.73 MB, free: 4.387 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1878/0.1878, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.002178/0.002178, allocations: 63.91 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3711, allocations: 62.47 MB / 0.5419 GB, free: 280 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005892/0.377, allocations: 3.432 MB / 0.5453 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.3796, allocations: 1.381 MB / 0.5466 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3797, allocations: 10 kB / 0.5466 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009107/0.3806, allocations: 243.6 kB / 0.5469 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.3813, allocations: 278.2 kB / 0.5471 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.3817, allocations: 110.6 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.3822, allocations: 333 kB / 0.5476 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.3825, allocations: 126.7 kB / 0.5477 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003652/0.3828, allocations: 158.7 kB / 0.5478 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3831, allocations: 158.3 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.3832, allocations: 13.19 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.3837, allocations: 261.2 kB / 0.5482 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.3839, allocations: 106.1 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.384, allocations: 89.44 kB / 0.5484 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005786/0.3846, allocations: 335 kB / 0.5488 GB, free: 11.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.3846, allocations: 8 kB / 0.5488 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3846, allocations: 0 / 0.5488 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3846, allocations: 1.25 kB / 0.5488 GB, free: 11.18 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.0007743/0.3854, allocations: 449.8 kB / 0.5492 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3855, allocations: 13.86 kB / 0.5492 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/0.3855, allocations: 54.58 kB / 0.5493 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/0.3865, allocations: 95.34 kB / 0.5493 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.387, allocations: 215.7 kB / 0.5496 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.387, allocations: 12.28 kB / 0.5496 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.387, allocations: 19.41 kB / 0.5496 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.3876, allocations: 322.5 kB / 0.5499 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.3876, allocations: 7.922 kB / 0.5499 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.3877, allocations: 6.562 kB / 0.5499 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.3877, allocations: 16.3 kB / 0.5499 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.3882, allocations: 285.9 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.39, allocations: 1.211 MB / 0.5514 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.3906, allocations: 194.5 kB / 0.5516 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.3907, allocations: 60.75 kB / 0.5516 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3907, allocations: 2.938 kB / 0.5516 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.3908, allocations: 36.75 kB / 0.5517 GB, free: 8.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.3908, allocations: 0 / 0.5517 GB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001037/0.3918, allocations: 366.3 kB / 0.552 GB, free: 8.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3919, allocations: 79.8 kB / 0.5521 GB, free: 8.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.3922, allocations: 200 kB / 0.5523 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.3922, allocations: 30.92 kB / 0.5523 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.3925, allocations: 159.8 kB / 0.5525 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.3925, allocations: 50.31 kB / 0.5525 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/0.3926, allocations: 47.14 kB / 0.5525 GB, free: 8.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002456/0.3928, allocations: 330.3 kB / 0.5529 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.393, allocations: 57.22 kB / 0.5529 GB, free: 7.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3931, allocations: 149.1 kB / 0.5531 GB, free: 7.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.3935, allocations: 234.1 kB / 0.5533 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3935, allocations: 1.156 kB / 0.5533 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004739/0.3939, allocations: 261.2 kB / 0.5535 GB, free: 7.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.394, allocations: 6.094 kB / 0.5535 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.394, allocations: 3.844 kB / 0.5535 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.3942, allocations: 38.02 kB / 0.5536 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3944, allocations: 43.62 kB / 0.5536 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.3958, allocations: 1.342 MB / 0.5549 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3959, allocations: 9.594 kB / 0.5549 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3959, allocations: 13.02 kB / 0.555 GB, free: 5.883 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.0001768/0.3961, allocations: 157.4 kB / 0.5551 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.3962, allocations: 20.06 kB / 0.5551 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.3966, allocations: 193.1 kB / 0.5553 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3966, allocations: 2.25 kB / 0.5553 GB, free: 5.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3966, allocations: 5.219 kB / 0.5553 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3966, allocations: 3.984 kB / 0.5553 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.3975, allocations: 0.5112 MB / 0.5558 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3975, allocations: 1.062 kB / 0.5558 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.3976, allocations: 28.83 kB / 0.5558 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.3978, allocations: 31.23 kB / 0.5559 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3978, allocations: 10.34 kB / 0.5559 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.399, allocations: 1.315 MB / 0.5572 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.399, allocations: 5.062 kB / 0.5572 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.3994, allocations: 297.3 kB / 0.5575 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.3995, allocations: 21.47 kB / 0.5575 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3995, allocations: 10.39 kB / 0.5575 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3996, allocations: 6.75 kB / 0.5575 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.3997, allocations: 13.39 kB / 0.5575 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3997, allocations: 9.25 kB / 0.5575 GB, free: 3.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3998, allocations: 145.2 kB / 0.5577 GB, free: 3.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 0.5577 GB, free: 3.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.4002, allocations: 48.53 kB / 0.5577 GB, free: 3.406 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.0007676/0.401, allocations: 0.8382 MB / 0.5585 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.4015, allocations: 261.4 kB / 0.5588 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.4015, allocations: 0 / 0.5588 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.4017, allocations: 179.6 kB / 0.5589 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4021, allocations: 33.52 kB / 0.559 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.4052, allocations: 2.391 MB / 0.5613 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4054, allocations: 143.9 kB / 0.5614 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.4055, allocations: 41.59 kB / 0.5615 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4056, allocations: 59.42 kB / 0.5615 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4056, allocations: 0 / 0.5615 GB, free: 15.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4418, allocations: 4.45 MB / 0.5659 GB, free: 10.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.1, allocations: 7.938 kB / 0.5659 GB, free: 10.87 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/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: 15.07496239291504]