Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.0008656/0.0008656, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0008655/0.0008655, allocations: 170 kB / 23.95 MB, free: 0.6016 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.8677/0.8677, 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.2143/0.2143, 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.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.471e-05, allocations: 2.984 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003435/0.00345, allocations: 3.86 MB / 434.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.005472, allocations: 1.725 MB / 435.8 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.005598, allocations: 11.94 kB / 435.8 MB, free: 7.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.006202, allocations: 369.7 kB / 436.2 MB, free: 7.605 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.006835, allocations: 410 kB / 436.6 MB, free: 7.203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.007098, allocations: 151.4 kB / 436.7 MB, free: 7.055 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.007476, allocations: 0.4907 MB / 437.2 MB, free: 6.562 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.007726, allocations: 171.4 kB / 437.4 MB, free: 6.395 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.008028, allocations: 291.1 kB / 437.7 MB, free: 6.109 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.008268, allocations: 227.4 kB / 437.9 MB, free: 5.887 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.008293, allocations: 20 kB / 437.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.008684, allocations: 386.7 kB / 438.3 MB, free: 5.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.008801, allocations: 167.5 kB / 438.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.295e-05/0.008884, allocations: 107.8 kB / 438.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.009328, allocations: 0.5103 MB / 439.1 MB, free: 4.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00933, allocations: 0 / 439.1 MB, free: 4.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.009331, allocations: 0 / 439.1 MB, free: 4.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.009336, allocations: 0 / 439.1 MB, free: 4.707 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0005402/0.009876, allocations: 0.5284 MB / 439.6 MB, free: 4.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.00991, allocations: 15.98 kB / 439.6 MB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.009959, allocations: 62.72 kB / 439.7 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.01055, allocations: 144.5 kB / 439.8 MB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.01081, allocations: 233.2 kB / 440 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.01083, allocations: 29.02 kB / 440.1 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.01086, allocations: 20.38 kB / 440.1 MB, free: 3.617 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.01129, allocations: 444.6 kB / 440.5 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.0113, allocations: 192 / 440.5 MB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.01132, allocations: 16.12 kB / 440.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.01135, allocations: 24.64 kB / 440.6 MB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.01174, allocations: 430.2 kB / 441 MB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.01319, allocations: 1.485 MB / 442.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.01341, allocations: 189 kB / 442.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01352, allocations: 117.7 kB / 442.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.01355, allocations: 11.98 kB / 442.8 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.01357, allocations: 30.56 kB / 442.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.01357, allocations: 0 / 442.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001043/0.01461, allocations: 0.7228 MB / 443.5 MB, free: 16 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1577/0.1723, allocations: 80.78 kB / 443.6 MB, free: 54.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1725, allocations: 208.8 kB / 443.8 MB, free: 54.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.1726, allocations: 31.3 kB / 443.8 MB, free: 54.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.1726, allocations: 183.4 kB / 444 MB, free: 54.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.1727, allocations: 87.42 kB / 444.1 MB, free: 54.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.1728, allocations: 53.25 kB / 444.1 MB, free: 54.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.1728, allocations: 332.9 kB / 444.5 MB, free: 53.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1729, allocations: 107.5 kB / 444.6 MB, free: 53.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.1731, allocations: 203.6 kB / 444.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.1733, allocations: 351.5 kB / 445.1 MB, free: 53.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1733, allocations: 0 / 445.1 MB, free: 53.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005005/0.1738, allocations: 433.1 kB / 445.5 MB, free: 53.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1738, allocations: 6.156 kB / 445.6 MB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1738, allocations: 3 kB / 445.6 MB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.1741, allocations: 85.28 kB / 445.6 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1743, allocations: 58.98 kB / 445.7 MB, free: 53.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.1754, allocations: 1.879 MB / 447.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1755, allocations: 18.02 kB / 447.6 MB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1755, allocations: 11 kB / 447.6 MB, free: 51.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1757, allocations: 176 kB / 447.8 MB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1757, allocations: 24.69 kB / 447.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.1761, allocations: 385.2 kB / 448.2 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1761, allocations: 3.406 kB / 448.2 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1761, allocations: 3 kB / 448.2 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1761, allocations: 7.219 kB / 448.2 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/0.1769, allocations: 0.8072 MB / 449 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1769, allocations: 3.422 kB / 449 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.177, allocations: 35.39 kB / 449 MB, free: 51.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.1771, allocations: 76.19 kB / 449.1 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1771, allocations: 7.375 kB / 449.1 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008348/0.178, allocations: 1.789 MB / 450.9 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.178, allocations: 6.969 kB / 450.9 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.1783, allocations: 463.4 kB / 451.4 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.1783, allocations: 19.3 kB / 451.4 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1783, allocations: 9.625 kB / 451.4 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1784, allocations: 13.7 kB / 451.4 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1785, allocations: 20.28 kB / 451.4 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1785, allocations: 10.22 kB / 451.4 MB, free: 49.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.76e-05/0.1785, allocations: 150.2 kB / 451.6 MB, free: 49.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1785, allocations: 0 / 451.6 MB, free: 49.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003246/0.1789, allocations: 86.31 kB / 451.7 MB, free: 49.21 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/0.1793, allocations: 0.9886 MB / 452.7 MB, free: 48.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1798, allocations: 412.3 kB / 453.1 MB, free: 48.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1798, allocations: 3.203 kB / 453.1 MB, free: 48.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.18, allocations: 275.9 kB / 453.3 MB, free: 48.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1803, allocations: 41.91 kB / 453.4 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.1823, allocations: 3 MB / 456.4 MB, free: 46.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.1824, allocations: 191.5 kB / 456.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.019e-05/0.1825, allocations: 51.97 kB / 456.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.1826, allocations: 92.31 kB / 456.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1826, allocations: 0 / 456.7 MB, free: 45.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.2022, allocations: 6.543 MB / 463.2 MB, free: 44.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.443, allocations: 7.094 kB / 463.2 MB, free: 44.61 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_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_InductiveLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.p[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.p[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.p[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.p[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.v[1] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.v[1] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! Error: Could not read variable load.v[2] in file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv. Warning: Get data of variable load.v[2] from file PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.376447029411793]