Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001281/0.001281, 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.001471/0.001471, 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.8686/0.8686, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2083/0.2083, allocations: 29.41 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.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.956e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003133/0.003153, allocations: 3.437 MB / 433.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004461, allocations: 1.422 MB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004595, allocations: 11.94 kB / 435.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.005184, allocations: 258.8 kB / 435.3 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004488/0.005633, allocations: 282.6 kB / 435.6 MB, free: 8.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.005881, allocations: 123.5 kB / 435.7 MB, free: 8.059 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.006192, allocations: 350.9 kB / 436.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.006424, allocations: 122.1 kB / 436.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.006682, allocations: 203.3 kB / 436.4 MB, free: 7.398 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.006873, allocations: 151.6 kB / 436.5 MB, free: 7.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.006895, allocations: 16 kB / 436.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.007226, allocations: 287 kB / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.007329, allocations: 107.7 kB / 436.9 MB, free: 6.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.007408, allocations: 75.77 kB / 437 MB, free: 6.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.007773, allocations: 371 kB / 437.4 MB, free: 6.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.007775, allocations: 0 / 437.4 MB, free: 6.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.007776, allocations: 0 / 437.4 MB, free: 6.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.007781, allocations: 0 / 437.4 MB, free: 6.41 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.0005413/0.008322, allocations: 468.8 kB / 437.8 MB, free: 5.922 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.008358, allocations: 15.98 kB / 437.8 MB, free: 5.906 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.008402, allocations: 50.73 kB / 437.9 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.008895, allocations: 96.69 kB / 438 MB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.00914, allocations: 213.3 kB / 438.2 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.009154, allocations: 8.375 kB / 438.2 MB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.009185, allocations: 20.36 kB / 438.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.009522, allocations: 322.6 kB / 438.5 MB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.009534, allocations: 192 / 438.5 MB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.009552, allocations: 12.12 kB / 438.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.009581, allocations: 19.98 kB / 438.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.009864, allocations: 291.7 kB / 438.9 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.01091, allocations: 1.17 MB / 440 MB, free: 3.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.01119, allocations: 233 kB / 440.3 MB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.01128, allocations: 89.67 kB / 440.3 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.0113, allocations: 4 kB / 440.3 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01132, allocations: 38.5 kB / 440.4 MB, free: 3.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.01132, allocations: 0 / 440.4 MB, free: 3.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005875/0.01191, allocations: 447.6 kB / 440.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.01195, allocations: 85.05 kB / 440.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.01207, allocations: 202.2 kB / 441.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.01209, allocations: 25.7 kB / 441.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.01216, allocations: 168.3 kB / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.01219, allocations: 63.48 kB / 441.4 MB, free: 2.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.01225, allocations: 45.7 kB / 441.4 MB, free: 2.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.01233, allocations: 334.8 kB / 441.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.01241, allocations: 83.95 kB / 441.8 MB, free: 1.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.01253, allocations: 160.5 kB / 442 MB, free: 1.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.01275, allocations: 264.4 kB / 442.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01275, allocations: 0 / 442.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002649/0.01301, allocations: 289.2 kB / 442.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.01303, allocations: 11.28 kB / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01303, allocations: 288 / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.01304, allocations: 12 kB / 442.5 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.01319, allocations: 55.89 kB / 442.6 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01319, allocations: 15.81 kB / 442.6 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.01327, allocations: 19.94 kB / 442.6 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01328, allocations: 8 kB / 442.6 MB, free: 0.8281 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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 9.404e-05/0.01337, allocations: 153.8 kB / 442.8 MB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.0134, allocations: 19.84 kB / 442.8 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.01364, allocations: 223.3 kB / 443 MB, free: 428 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01364, allocations: 4 kB / 443 MB, free: 424 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01365, allocations: 7.938 kB / 443 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01365, allocations: 0 / 443 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1527/0.1664, allocations: 0.8973 MB / 443.9 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1664, allocations: 3.125 kB / 443.9 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1665, allocations: 37.09 kB / 444 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1665, allocations: 9.578 kB / 444 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1665, allocations: 11.09 kB / 444 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1665, allocations: 6.031 kB / 444 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1665, allocations: 4.141 kB / 444 MB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1668, allocations: 417.6 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.1668, allocations: 26.22 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.1668, allocations: 6.469 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.193e-05/0.1669, allocations: 13.66 kB / 444.4 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.1669, allocations: 24.3 kB / 444.5 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.167, allocations: 12.97 kB / 444.5 MB, free: 53.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.616e-05/0.167, allocations: 145.6 kB / 444.6 MB, free: 53.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.167, allocations: 3.188 kB / 444.6 MB, free: 53.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000251/0.1673, allocations: 53.5 kB / 444.7 MB, free: 53.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0002951/0.1676, allocations: 0.9431 MB / 445.6 MB, free: 52.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1678, allocations: 206 kB / 445.8 MB, free: 52.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1678, allocations: 3.719 kB / 445.8 MB, free: 52.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.1679, allocations: 98.31 kB / 445.9 MB, free: 52.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1682, allocations: 36.42 kB / 446 MB, free: 52.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1697, allocations: 2.669 MB / 448.6 MB, free: 50.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.184e-05/0.1698, allocations: 155.2 kB / 448.8 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1699, allocations: 53.39 kB / 448.8 MB, free: 50.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.17, allocations: 64.52 kB / 448.9 MB, free: 50.81 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.17, allocations: 0 / 448.9 MB, free: 50.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.1846, allocations: 4.886 MB / 453.8 MB, free: 49.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.064, allocations: 6.828 kB / 453.8 MB, free: 49.72 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_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_FixedCurrentTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedCurrentTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv failed! Error: Could not read variable line.i[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv. Warning: Get data of variable line.i[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv failed! Error: Could not read variable line.i[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv. Warning: Get data of variable line.i[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv failed! Error: Could not read variable line.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv. Warning: Get data of variable line.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv failed! Error: Could not read variable line.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv. Warning: Get data of variable line.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv failed! Error: Could not read variable line.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv. Warning: Get data of variable line.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.991609797812998]