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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 104.5 kB / 16.92 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 191.4 kB / 17.85 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1741/0.1741, allocations: 38.03 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.19 kB / 398.9 MB, free: 33.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 58.07 MB / 457 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006206/0.122, allocations: 3.948 MB / 460.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1249, allocations: 1.823 MB / 462.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.1252, allocations: 8 kB / 462.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1263, allocations: 362.6 kB / 463.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000972/0.1273, allocations: 398.5 kB / 463.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1278, allocations: 143.6 kB / 463.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006338/0.1284, allocations: 498.6 kB / 464.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.1289, allocations: 215 kB / 464.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.1295, allocations: 211.1 kB / 464.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.13, allocations: 223.2 kB / 464.8 MB, free: 136 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.922e-05/0.1301, allocations: 20 kB / 464.8 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009286/0.131, allocations: 446.9 kB / 465.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.1313, allocations: 167.5 kB / 465.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1315, allocations: 155.3 kB / 465.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009514/0.1325, allocations: 494.6 kB / 466 MB, free: 14.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1325, allocations: 4 kB / 466 MB, free: 14.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1325, allocations: 0 / 466 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.1325, allocations: 0 / 466 MB, free: 14.87 MB / 350.1 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.001135/0.1337, allocations: 0.5912 MB / 466.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1337, allocations: 11.89 kB / 466.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.929e-05/0.1338, allocations: 66.72 kB / 466.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.1351, allocations: 140.4 kB / 466.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1355, allocations: 283.7 kB / 467.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1355, allocations: 24.92 kB / 467.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.1356, allocations: 24.38 kB / 467.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.1363, allocations: 443.7 kB / 467.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1364, allocations: 4 kB / 467.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.1364, allocations: 8 kB / 467.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/0.1365, allocations: 36.48 kB / 467.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.1371, allocations: 429.8 kB / 468 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.1393, allocations: 1.71 MB / 469.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.1397, allocations: 286.1 kB / 470 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1399, allocations: 137.7 kB / 470.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.1399, allocations: 7.984 kB / 470.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.14, allocations: 42.94 kB / 470.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.14, allocations: 0 / 470.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001792/0.1418, allocations: 0.7878 MB / 471 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1418, allocations: 81.11 kB / 471.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1421, allocations: 207 kB / 471.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1421, allocations: 29.83 kB / 471.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1422, allocations: 191.9 kB / 471.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.1423, allocations: 78.86 kB / 471.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.1424, allocations: 57.88 kB / 471.6 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1425, allocations: 334.8 kB / 472 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.1427, allocations: 100.5 kB / 472.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1429, allocations: 216.9 kB / 472.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.1434, allocations: 335.8 kB / 472.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1434, allocations: 0 / 472.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007603/0.1441, allocations: 433.2 kB / 473 MB, free: 7.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1442, allocations: 10.19 kB / 473 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1442, allocations: 4 kB / 473 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/0.1446, allocations: 88.73 kB / 473.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1448, allocations: 59.83 kB / 473.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.1468, allocations: 2.002 MB / 475.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.147, allocations: 15.98 kB / 475.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.147, allocations: 12 kB / 475.2 MB, free: 5.066 MB / 350.1 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.0001692/0.1472, allocations: 181.7 kB / 475.4 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1472, allocations: 19.72 kB / 475.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007189/0.148, allocations: 388.8 kB / 475.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.148, allocations: 0 / 475.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.148, allocations: 4 kB / 475.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.148, allocations: 3.984 kB / 475.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.1494, allocations: 0.9214 MB / 476.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1494, allocations: 64 / 476.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1496, allocations: 43.97 kB / 476.8 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/0.1499, allocations: 64.8 kB / 476.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1499, allocations: 8 kB / 476.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.1517, allocations: 1.916 MB / 478.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1517, allocations: 0 / 478.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.1524, allocations: 465.2 kB / 479.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.1524, allocations: 92.83 kB / 479.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.1525, allocations: 11.98 kB / 479.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1526, allocations: 8 kB / 479.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1527, allocations: 23.84 kB / 479.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1527, allocations: 16 kB / 479.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1529, allocations: 148.6 kB / 479.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1529, allocations: 4 kB / 479.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000488/0.1534, allocations: 80 kB / 479.6 MB, free: 424 kB / 350.1 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.001048/0.1544, allocations: 0.9887 MB / 480.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008718/0.1553, allocations: 462.8 kB / 481 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1553, allocations: 0 / 481 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005149/0.1558, allocations: 278.5 kB / 481.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1563, allocations: 45.45 kB / 481.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.1602, allocations: 2.996 MB / 484.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1606, allocations: 0.8102 MB / 485.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.1608, allocations: 57.94 kB / 485.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1609, allocations: 83.41 kB / 485.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1609, allocations: 0 / 485.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.198, allocations: 5.576 MB / 490.9 MB, free: 4.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.43/9.628, allocations: 7.312 kB / 490.9 MB, free: 4.953 MB / 366.1 MB (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.InductiveLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.InductiveLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches