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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 121.5 kB / 17.74 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 186.9 kB / 20.68 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 246.4 MB, free: 4.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3344/0.3344, allocations: 38.02 MB / 336.6 MB, free: 12.96 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00205/0.00205, allocations: 68.91 kB / 466.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 58.08 MB / 0.5121 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005154/0.1187, allocations: 3.419 MB / 0.5155 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.121, allocations: 1.446 MB / 0.5169 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1211, allocations: 7.938 kB / 0.5169 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008726/0.122, allocations: 251 kB / 0.5171 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.1226, allocations: 275 kB / 0.5174 GB, free: 4.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.1229, allocations: 119.7 kB / 0.5175 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.1234, allocations: 346.9 kB / 0.5178 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.1236, allocations: 129.9 kB / 0.518 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1239, allocations: 143.4 kB / 0.5181 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1241, allocations: 159.4 kB / 0.5183 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1242, allocations: 12 kB / 0.5183 GB, free: 3.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.1247, allocations: 299.3 kB / 0.5185 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1248, allocations: 107.7 kB / 0.5187 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1249, allocations: 107.5 kB / 0.5188 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.1254, allocations: 346.8 kB / 0.5191 GB, free: 3.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1255, allocations: 0 / 0.5191 GB, free: 3.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1255, allocations: 3.938 kB / 0.5191 GB, free: 3.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.1255, allocations: 0 / 0.5191 GB, free: 3.09 MB / 382.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.0007322/0.1262, allocations: 0.5138 MB / 0.5196 GB, free: 2.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1263, allocations: 11.89 kB / 0.5196 GB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.1263, allocations: 54.73 kB / 0.5197 GB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/0.1272, allocations: 96.69 kB / 0.5197 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1275, allocations: 264.6 kB / 0.52 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1276, allocations: 12.38 kB / 0.52 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.1276, allocations: 27.88 kB / 0.52 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.1282, allocations: 310.4 kB / 0.5203 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1282, allocations: 0 / 0.5203 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1282, allocations: 8 kB / 0.5203 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.1283, allocations: 23.86 kB / 0.5204 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.1287, allocations: 295.7 kB / 0.5206 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1306, allocations: 1.293 MB / 0.5219 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.1312, allocations: 209.2 kB / 0.5221 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1313, allocations: 61.69 kB / 0.5222 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1314, allocations: 4 kB / 0.5222 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1314, allocations: 34.56 kB / 0.5222 GB, free: 15.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 3.927e-06/0.1314, allocations: 0 / 0.5222 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001063/0.1325, allocations: 445.9 kB / 0.5226 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.1326, allocations: 81.23 kB / 0.5227 GB, free: 15.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1328, allocations: 202.2 kB / 0.5229 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1328, allocations: 25.7 kB / 0.5229 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1329, allocations: 156.2 kB / 0.5231 GB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.133, allocations: 55.53 kB / 0.5231 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.1331, allocations: 45.7 kB / 0.5232 GB, free: 14.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1332, allocations: 326.8 kB / 0.5235 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.1333, allocations: 55.95 kB / 0.5235 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1335, allocations: 144.8 kB / 0.5237 GB, free: 14.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1338, allocations: 232.6 kB / 0.5239 GB, free: 13.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1338, allocations: 0 / 0.5239 GB, free: 13.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004735/0.1343, allocations: 266 kB / 0.5241 GB, free: 13.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1343, allocations: 8 kB / 0.5242 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1343, allocations: 0 / 0.5242 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002454/0.1346, allocations: 41.27 kB / 0.5242 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1347, allocations: 43.92 kB / 0.5242 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1361, allocations: 1.445 MB / 0.5256 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1363, allocations: 12 kB / 0.5257 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1363, allocations: 12 kB / 0.5257 GB, free: 11.77 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.0001856/0.1365, allocations: 157.7 kB / 0.5258 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.1366, allocations: 19.84 kB / 0.5258 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.137, allocations: 192 kB / 0.526 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.137, allocations: 4.047 kB / 0.526 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.137, allocations: 4 kB / 0.526 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.137, allocations: 4 kB / 0.526 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000895/0.1379, allocations: 0.5562 MB / 0.5266 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1379, allocations: 8.078 kB / 0.5266 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.138, allocations: 27.94 kB / 0.5266 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.1382, allocations: 32.77 kB / 0.5266 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1382, allocations: 4 kB / 0.5266 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1394, allocations: 1.422 MB / 0.528 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1395, allocations: 0 / 0.528 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/0.1399, allocations: 306.5 kB / 0.5283 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.14, allocations: 96.95 kB / 0.5284 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.14, allocations: 0 / 0.5284 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1401, allocations: 15.98 kB / 0.5284 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1402, allocations: 11.92 kB / 0.5284 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1402, allocations: 8 kB / 0.5285 GB, free: 8.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1404, allocations: 144.3 kB / 0.5286 GB, free: 8.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1404, allocations: 0 / 0.5286 GB, free: 8.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1408, allocations: 48 kB / 0.5286 GB, free: 8.445 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.0007816/0.1415, allocations: 0.8413 MB / 0.5295 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005444/0.1421, allocations: 267.2 kB / 0.5297 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.1421, allocations: 0 / 0.5297 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1424, allocations: 174.6 kB / 0.5299 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1428, allocations: 34.91 kB / 0.5299 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1459, allocations: 2.391 MB / 0.5322 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.1464, allocations: 0.7554 MB / 0.533 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1466, allocations: 49.5 kB / 0.533 GB, free: 3.656 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1468, allocations: 59.41 kB / 0.5331 GB, free: 3.598 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1468, allocations: 3.938 kB / 0.5331 GB, free: 3.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.1783, allocations: 3.894 MB / 0.5369 GB, free: 15.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.934/10.11, allocations: 6.516 kB / 0.5369 GB, free: 15.81 MB / 414.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.ImpedanceTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.20112345891539]