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.001006/0.001006, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001344/0.001344, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9538/0.9538, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2377/0.2377, allocations: 29.41 MB / 290.1 MB, free: 2.449 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.012e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003479/0.0035, allocations: 3.413 MB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.005077, allocations: 1.379 MB / 435 MB, free: 8.773 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.005194, allocations: 7.938 kB / 435 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.005792, allocations: 251 kB / 435.2 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.006282, allocations: 282.5 kB / 435.5 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.006511, allocations: 115.5 kB / 435.6 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.006821, allocations: 338.9 kB / 436 MB, free: 7.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.007054, allocations: 122 kB / 436.1 MB, free: 7.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.007309, allocations: 203.4 kB / 436.3 MB, free: 7.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.007486, allocations: 151.5 kB / 436.4 MB, free: 7.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.007514, allocations: 19.94 kB / 436.5 MB, free: 7.312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.007852, allocations: 271 kB / 436.7 MB, free: 7.047 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.007947, allocations: 107.7 kB / 436.8 MB, free: 6.941 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.008019, allocations: 71.83 kB / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.008395, allocations: 359 kB / 437.2 MB, free: 6.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.008397, allocations: 0 / 437.2 MB, free: 6.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008398, allocations: 0 / 437.2 MB, free: 6.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.008403, allocations: 4 kB / 437.2 MB, free: 6.516 MB / 410.7 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.0005412/0.008944, allocations: 445 kB / 437.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.008981, allocations: 19.98 kB / 437.7 MB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.009026, allocations: 54.73 kB / 437.8 MB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004668/0.009493, allocations: 92.67 kB / 437.8 MB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.009728, allocations: 198 kB / 438 MB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.009742, allocations: 16.31 kB / 438.1 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.009772, allocations: 16.38 kB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.01011, allocations: 327.1 kB / 438.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.01012, allocations: 0 / 438.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.01014, allocations: 8 kB / 438.4 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.01016, allocations: 15.94 kB / 438.4 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/0.01051, allocations: 283.8 kB / 438.7 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01154, allocations: 1.213 MB / 439.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.0119, allocations: 209.1 kB / 440.1 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.01196, allocations: 53.75 kB / 440.2 MB, free: 3.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01198, allocations: 4 kB / 440.2 MB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.01234, allocations: 38.5 kB / 440.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.01234, allocations: 0 / 440.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008109/0.01315, allocations: 349.7 kB / 440.5 MB, free: 2.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.01319, allocations: 77.23 kB / 440.6 MB, free: 2.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01333, allocations: 210.2 kB / 440.8 MB, free: 2.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.01335, allocations: 25.92 kB / 440.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.01343, allocations: 168 kB / 441 MB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.01346, allocations: 55.52 kB / 441.1 MB, free: 2.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.0135, allocations: 41.7 kB / 441.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.0136, allocations: 326.8 kB / 441.4 MB, free: 2.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.982e-05/0.01366, allocations: 51.97 kB / 441.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.01375, allocations: 148.8 kB / 441.6 MB, free: 1.812 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.01393, allocations: 224.7 kB / 441.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01394, allocations: 8 kB / 441.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002799/0.01422, allocations: 262.6 kB / 442.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01423, allocations: 15.92 kB / 442.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01424, allocations: 4.438 kB / 442.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.01442, allocations: 40.83 kB / 442.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.0145, allocations: 51.92 kB / 442.2 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1924/0.2069, allocations: 1.324 MB / 443.5 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2071, allocations: 13.28 kB / 443.6 MB, free: 53.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.2072, allocations: 13.78 kB / 443.6 MB, free: 53.46 MB / 410.7 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.000169/0.2073, allocations: 153.7 kB / 443.7 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.2074, allocations: 18.75 kB / 443.7 MB, free: 53.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003734/0.2077, allocations: 194.6 kB / 443.9 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2078, allocations: 2.969 kB / 443.9 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2078, allocations: 2.594 kB / 443.9 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2078, allocations: 0 / 443.9 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.2084, allocations: 0.5207 MB / 444.5 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2084, allocations: 3.031 kB / 444.5 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.2084, allocations: 24.33 kB / 444.5 MB, free: 53.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.2085, allocations: 33.8 kB / 444.5 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2086, allocations: 0 / 444.5 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/0.2091, allocations: 1.321 MB / 445.8 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2091, allocations: 0 / 445.8 MB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.2093, allocations: 304.5 kB / 446.1 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.2093, allocations: 23.3 kB / 446.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2094, allocations: 7.031 kB / 446.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.2094, allocations: 0 / 446.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.2094, allocations: 16.72 kB / 446.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2095, allocations: 9.125 kB / 446.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.2095, allocations: 139.2 kB / 446.3 MB, free: 51.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2095, allocations: 3.25 kB / 446.3 MB, free: 51.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.2098, allocations: 50.03 kB / 446.4 MB, free: 51.54 MB / 410.7 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.0003267/0.2101, allocations: 0.825 MB / 447.2 MB, free: 50.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.2104, allocations: 254.8 kB / 447.4 MB, free: 50.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2104, allocations: 0 / 447.4 MB, free: 50.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/0.2105, allocations: 174.4 kB / 447.6 MB, free: 50.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.2108, allocations: 38.52 kB / 447.7 MB, free: 50.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2123, allocations: 2.367 MB / 450 MB, free: 48.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.398e-05/0.2124, allocations: 142.5 kB / 450.2 MB, free: 48.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.2125, allocations: 41.53 kB / 450.2 MB, free: 48.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.2126, allocations: 60.62 kB / 450.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.2126, allocations: 0 / 450.3 MB, free: 48.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.2318, allocations: 4.609 MB / 454.9 MB, free: 47.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/6.996, allocations: 6.172 kB / 454.9 MB, free: 47.57 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins/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: 9.01813604682684]