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.0008516/0.0008516, 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.0008992/0.0008992, allocations: 170.3 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.9235/0.9235, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2179/0.2179, allocations: 29.4 MB / 290.1 MB, free: 2.445 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.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.284e-05, allocations: 8.609 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003413/0.003435, allocations: 3.418 MB / 433.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.00485, allocations: 1.383 MB / 435 MB, free: 8.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.004984, allocations: 15.88 kB / 435 MB, free: 8.754 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006163/0.0056, allocations: 247 kB / 435.3 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.006134, allocations: 286.5 kB / 435.5 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.006381, allocations: 111.5 kB / 435.6 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.006712, allocations: 342.9 kB / 436 MB, free: 7.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.006962, allocations: 122.1 kB / 436.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.007261, allocations: 207.3 kB / 436.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.007463, allocations: 147.6 kB / 436.4 MB, free: 7.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.007482, allocations: 15.94 kB / 436.5 MB, free: 7.305 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.007795, allocations: 267.1 kB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.007899, allocations: 99.77 kB / 436.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.286e-05/0.007972, allocations: 75.77 kB / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00042/0.008392, allocations: 367 kB / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008396, allocations: 0 / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.008397, allocations: 0 / 437.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.008402, allocations: 0 / 437.2 MB, free: 6.512 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.0005287/0.00893, allocations: 452.9 kB / 437.7 MB, free: 6.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.008968, allocations: 11.98 kB / 437.7 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.009012, allocations: 58.72 kB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.009497, allocations: 92.69 kB / 437.8 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.009742, allocations: 202 kB / 438 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.009756, allocations: 12.38 kB / 438.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.009789, allocations: 24.34 kB / 438.1 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.01014, allocations: 315.1 kB / 438.4 MB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01016, allocations: 4 kB / 438.4 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.01017, allocations: 4 kB / 438.4 MB, free: 5.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.0102, allocations: 16 kB / 438.4 MB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002801/0.01048, allocations: 283.8 kB / 438.7 MB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01156, allocations: 1.212 MB / 439.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.01181, allocations: 165.2 kB / 440.1 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.01187, allocations: 49.7 kB / 440.1 MB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.01189, allocations: 0 / 440.1 MB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.01191, allocations: 42.55 kB / 440.2 MB, free: 3.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01191, allocations: 0 / 440.2 MB, free: 3.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004726/0.01239, allocations: 287.9 kB / 440.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.01243, allocations: 77.11 kB / 440.5 MB, free: 3.008 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.01256, allocations: 210.1 kB / 440.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.01257, allocations: 25.7 kB / 440.7 MB, free: 2.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.01265, allocations: 168 kB / 440.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.01268, allocations: 51.52 kB / 441 MB, free: 2.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.01273, allocations: 45.7 kB / 441 MB, free: 2.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.01282, allocations: 326.8 kB / 441.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.52e-05/0.01288, allocations: 47.91 kB / 441.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.634e-05/0.01297, allocations: 144.8 kB / 441.5 MB, free: 1.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.01316, allocations: 216.8 kB / 441.7 MB, free: 1.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01316, allocations: 0 / 441.7 MB, free: 1.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002486/0.01341, allocations: 225.2 kB / 441.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01343, allocations: 16.31 kB / 442 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01343, allocations: 12 kB / 442 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01345, allocations: 4 kB / 442 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.01355, allocations: 43.91 kB / 442 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.01356, allocations: 11.94 kB / 442 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.01362, allocations: 8 kB / 442 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01363, allocations: 8 kB / 442 MB, free: 1.344 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 (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.0001046/0.01374, allocations: 157.8 kB / 442.2 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.01376, allocations: 19.84 kB / 442.2 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.01395, allocations: 151.1 kB / 442.4 MB, free: 1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01395, allocations: 4 kB / 442.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01395, allocations: 4 kB / 442.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01396, allocations: 0 / 442.4 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.01452, allocations: 0.629 MB / 443 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.01453, allocations: 4.438 kB / 443 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.01458, allocations: 31.92 kB / 443 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01458, allocations: 4 kB / 443 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01459, allocations: 8 kB / 443 MB, free: 232 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.0146, allocations: 11.88 kB / 443.1 MB, free: 220 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.0146, allocations: 4 kB / 443.1 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1712/0.1858, allocations: 324.3 kB / 443.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1858, allocations: 19.67 kB / 443.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.1858, allocations: 12.23 kB / 443.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.186, allocations: 11.19 kB / 443.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.186, allocations: 16.22 kB / 443.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.186, allocations: 11.12 kB / 443.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1861, allocations: 138.3 kB / 443.6 MB, free: 53.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1861, allocations: 0 / 443.6 MB, free: 53.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.1864, allocations: 45.31 kB / 443.6 MB, free: 53.82 MB / 410.7 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.0003829/0.1868, allocations: 0.8689 MB / 444.5 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.187, allocations: 143.3 kB / 444.6 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.187, allocations: 1.125 kB / 444.6 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.176e-05/0.1871, allocations: 61.11 kB / 444.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1874, allocations: 37.2 kB / 444.7 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.1893, allocations: 2.389 MB / 447.1 MB, free: 51.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1894, allocations: 148.3 kB / 447.3 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1895, allocations: 45.97 kB / 447.3 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.1896, allocations: 63.41 kB / 447.4 MB, free: 51.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.013e-06/0.1896, allocations: 7.094 kB / 447.4 MB, free: 51.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.207, allocations: 4.195 MB / 451.6 MB, free: 50.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.218, allocations: 11.14 kB / 451.6 MB, free: 50.18 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_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_AdmittanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.AdmittanceTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! Error: Could not read variable load.i[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv. Warning: Get data of variable load.i[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! Error: Could not read variable load.i[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv. Warning: Get data of variable load.i[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.231802709400654]