Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.0008361/0.0008361, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008269/0.0008269, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8564/0.8564, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2197/0.2197, allocations: 29.4 MB / 290.1 MB, free: 2.438 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.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.354e-05, allocations: 6.844 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003255/0.003279, allocations: 3.437 MB / 433.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004648, allocations: 1.449 MB / 435.1 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.004771, allocations: 7.938 kB / 435.1 MB, free: 8.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.005322, allocations: 254.8 kB / 435.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.005782, allocations: 290.6 kB / 435.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.006009, allocations: 123.5 kB / 435.7 MB, free: 8.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.006343, allocations: 358.9 kB / 436.1 MB, free: 7.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.006557, allocations: 118 kB / 436.2 MB, free: 7.559 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.006797, allocations: 211.3 kB / 436.4 MB, free: 7.352 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.006979, allocations: 147.5 kB / 436.6 MB, free: 7.207 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.007003, allocations: 15.94 kB / 436.6 MB, free: 7.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.007299, allocations: 287 kB / 436.9 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.007388, allocations: 111.7 kB / 437 MB, free: 6.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.00746, allocations: 79.83 kB / 437 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.007802, allocations: 363 kB / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.007804, allocations: 0 / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.007805, allocations: 0 / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.00781, allocations: 0 / 437.4 MB, free: 6.367 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.0004894/0.008299, allocations: 464.9 kB / 437.9 MB, free: 5.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.008332, allocations: 11.98 kB / 437.9 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.008375, allocations: 58.72 kB / 437.9 MB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.00886, allocations: 108.7 kB / 438 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.009093, allocations: 205.3 kB / 438.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.009105, allocations: 8.375 kB / 438.2 MB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.009139, allocations: 28.34 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.009534, allocations: 322.7 kB / 438.6 MB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.009548, allocations: 192 / 438.6 MB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.009573, allocations: 16.11 kB / 438.6 MB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.009605, allocations: 19.98 kB / 438.6 MB, free: 5.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004404/0.01005, allocations: 315.6 kB / 438.9 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.01143, allocations: 1.17 MB / 440.1 MB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.01166, allocations: 145.1 kB / 440.2 MB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.01178, allocations: 101.7 kB / 440.3 MB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.0118, allocations: 4 kB / 440.3 MB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.01182, allocations: 34.56 kB / 440.4 MB, free: 3.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.01182, allocations: 0 / 440.4 MB, free: 3.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009055/0.01273, allocations: 0.5903 MB / 441 MB, free: 2.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.01276, allocations: 77.11 kB / 441 MB, free: 2.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.01289, allocations: 198.2 kB / 441.2 MB, free: 2.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.0129, allocations: 25.7 kB / 441.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.01297, allocations: 160.2 kB / 441.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.013, allocations: 63.47 kB / 441.5 MB, free: 2.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.01305, allocations: 49.7 kB / 441.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.01313, allocations: 330.8 kB / 441.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.01321, allocations: 80.08 kB / 441.9 MB, free: 1.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01332, allocations: 152.5 kB / 442.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.01353, allocations: 256.4 kB / 442.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01353, allocations: 4 kB / 442.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003767/0.01391, allocations: 353.8 kB / 442.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01392, allocations: 15.16 kB / 442.7 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.01393, allocations: 4 kB / 442.7 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.01415, allocations: 93.06 kB / 442.8 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.01424, allocations: 47.91 kB / 442.8 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1611/0.1753, allocations: 2.032 MB / 444.9 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.1755, allocations: 10.39 kB / 444.9 MB, free: 53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1755, allocations: 10.22 kB / 444.9 MB, free: 53 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 (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.1756, allocations: 159.1 kB / 445 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1756, allocations: 14.59 kB / 445.1 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.176, allocations: 325.6 kB / 445.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.176, allocations: 3.188 kB / 445.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.176, allocations: 0.5 kB / 445.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.176, allocations: 8.344 kB / 445.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.1767, allocations: 0.6916 MB / 446.1 MB, free: 52.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1767, allocations: 0 / 446.1 MB, free: 52.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.1767, allocations: 24.61 kB / 446.1 MB, free: 52.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.1769, allocations: 81.31 kB / 446.2 MB, free: 52.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1769, allocations: 7.25 kB / 446.2 MB, free: 52.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009043/0.1778, allocations: 1.921 MB / 448.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1778, allocations: 0 / 448.1 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1781, allocations: 405.8 kB / 448.5 MB, free: 50.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.1781, allocations: 26.36 kB / 448.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1781, allocations: 6.562 kB / 448.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.531e-05/0.1782, allocations: 7.281 kB / 448.5 MB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.1782, allocations: 13.11 kB / 448.6 MB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1782, allocations: 13.95 kB / 448.6 MB, free: 50.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.861e-05/0.1783, allocations: 136.9 kB / 448.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1783, allocations: 0 / 448.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.1786, allocations: 69.28 kB / 448.8 MB, free: 50.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003833/0.179, allocations: 0.94 MB / 449.7 MB, free: 49.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.1794, allocations: 367.2 kB / 450.1 MB, free: 49.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1794, allocations: 0 / 450.1 MB, free: 49.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.1795, allocations: 256.5 kB / 450.3 MB, free: 49.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.1798, allocations: 33.06 kB / 450.4 MB, free: 49.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.1814, allocations: 2.629 MB / 453 MB, free: 47.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.363e-05/0.1815, allocations: 157.1 kB / 453.1 MB, free: 47.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.54e-05/0.1816, allocations: 37.94 kB / 453.2 MB, free: 47.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.1816, allocations: 64.05 kB / 453.2 MB, free: 47.39 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1816, allocations: 0 / 453.2 MB, free: 47.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.1987, allocations: 5.94 MB / 459.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/7.994, allocations: 6.969 kB / 459.2 MB, free: 46.19 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_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_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! Error: Could not read variable line.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv. Warning: Get data of variable line.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.920453436672688]