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.001316/0.001316, allocations: 107.5 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.00156/0.00156, allocations: 211.6 kB / 24.51 MB, free: 3.914 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.531/1.531, allocations: 230.6 MB / 258.3 MB, free: 7.742 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 / 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.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001998/0.001998, allocations: 66.39 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3804, allocations: 62.46 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005364/0.3858, allocations: 3.424 MB / 0.546 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.3883, allocations: 1.367 MB / 0.5474 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.3884, allocations: 9.438 kB / 0.5474 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.3893, allocations: 255.8 kB / 0.5476 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006973/0.39, allocations: 279.8 kB / 0.5479 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3905, allocations: 105.7 kB / 0.548 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.3909, allocations: 340.6 kB / 0.5483 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.3913, allocations: 118.7 kB / 0.5484 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.3916, allocations: 163.2 kB / 0.5486 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.3919, allocations: 169.5 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.3919, allocations: 14.34 kB / 0.5488 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.3925, allocations: 263.9 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3926, allocations: 103.1 kB / 0.5491 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3928, allocations: 81.58 kB / 0.5492 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.3934, allocations: 346.2 kB / 0.5495 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3934, allocations: 5.016 kB / 0.5495 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3934, allocations: 0 / 0.5495 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3934, allocations: 4 kB / 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.0008185/0.3942, allocations: 438.7 kB / 0.5499 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.3943, allocations: 17.34 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.096e-05/0.3943, allocations: 5.125 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.3944, allocations: 59.31 kB / 0.55 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009196/0.3953, allocations: 95.25 kB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3957, allocations: 216.2 kB / 0.5503 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3957, allocations: 19.44 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.3958, allocations: 18.83 kB / 0.5504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.3964, allocations: 311 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.3964, allocations: 7.938 kB / 0.5507 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.3964, allocations: 11.19 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.3965, allocations: 15.61 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.397, allocations: 284.2 kB / 0.551 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.3989, allocations: 1.218 MB / 0.5522 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006556/0.3996, allocations: 202.7 kB / 0.5523 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.3997, allocations: 52.97 kB / 0.5524 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3997, allocations: 2.469 kB / 0.5524 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.3997, allocations: 41.38 kB / 0.5524 GB, free: 8.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.564e-06/0.3997, allocations: 3.938 kB / 0.5524 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001081/0.4008, allocations: 357.9 kB / 0.5528 GB, free: 8.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.4009, allocations: 79.17 kB / 0.5529 GB, free: 8.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4011, allocations: 196.8 kB / 0.553 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.4012, allocations: 26.83 kB / 0.5531 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.4013, allocations: 164.6 kB / 0.5532 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.4014, allocations: 49.58 kB / 0.5533 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4015, allocations: 46.53 kB / 0.5533 GB, free: 8.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4017, allocations: 331.5 kB / 0.5536 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.4018, allocations: 52.31 kB / 0.5537 GB, free: 7.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.4021, allocations: 154.1 kB / 0.5538 GB, free: 7.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.4024, allocations: 229.7 kB / 0.5541 GB, free: 7.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.4025, allocations: 1.031 kB / 0.5541 GB, free: 7.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005534/0.403, allocations: 264.9 kB / 0.5543 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.403, allocations: 7.281 kB / 0.5543 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.403, allocations: 2.875 kB / 0.5543 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003171/0.4034, allocations: 42.58 kB / 0.5544 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4035, allocations: 43.8 kB / 0.5544 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.4052, allocations: 1.339 MB / 0.5557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.4053, allocations: 4.844 kB / 0.5557 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.4053, allocations: 13 kB / 0.5557 GB, free: 5.852 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.0002244/0.4056, allocations: 157.8 kB / 0.5559 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.4056, allocations: 19.91 kB / 0.5559 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004353/0.4061, allocations: 189 kB / 0.5561 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4061, allocations: 9.172 kB / 0.5561 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4061, allocations: 5.219 kB / 0.5561 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4061, allocations: 1.188 kB / 0.5561 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.407, allocations: 0.51 MB / 0.5566 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.407, allocations: 14.34 kB / 0.5566 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.092e-05/0.4071, allocations: 19.73 kB / 0.5566 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.4072, allocations: 36.02 kB / 0.5566 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.4073, allocations: 6.438 kB / 0.5567 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.4085, allocations: 1.311 MB / 0.5579 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4085, allocations: 1.062 kB / 0.5579 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.409, allocations: 304.3 kB / 0.5582 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.409, allocations: 18.5 kB / 0.5582 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.409, allocations: 10.72 kB / 0.5583 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4091, allocations: 2.562 kB / 0.5583 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.4092, allocations: 21.28 kB / 0.5583 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4092, allocations: 5.094 kB / 0.5583 GB, free: 3.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4094, allocations: 148.9 kB / 0.5584 GB, free: 3.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4094, allocations: 0 / 0.5584 GB, free: 3.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.4098, allocations: 56.25 kB / 0.5585 GB, free: 3.363 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.0007663/0.4105, allocations: 0.8305 MB / 0.5593 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005534/0.4111, allocations: 258.4 kB / 0.5595 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4111, allocations: 4 kB / 0.5595 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4114, allocations: 167.7 kB / 0.5597 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.4118, allocations: 40.69 kB / 0.5597 GB, free: 2.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.4149, allocations: 2.379 MB / 0.5621 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.4151, allocations: 155.8 kB / 0.5622 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.4152, allocations: 45.59 kB / 0.5623 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.4153, allocations: 55.41 kB / 0.5623 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4153, allocations: 0 / 0.5623 GB, free: 15.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.4487, allocations: 4.167 MB / 0.5664 GB, free: 11.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.29, allocations: 11.19 kB / 0.5664 GB, free: 11.13 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.431478156941012]