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.001087/0.001087, allocations: 108.8 kB / 17.05 MB, free: 6.059 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.001123/0.001123, allocations: 195 kB / 17.99 MB, free: 5.156 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.04 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.89 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3213, allocations: 58.05 MB / 0.5036 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004856/0.3263, allocations: 3.943 MB / 0.5075 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.3285, allocations: 1.823 MB / 0.5092 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.3288, allocations: 9.656 kB / 0.5092 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.3298, allocations: 362.8 kB / 0.5096 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.3308, allocations: 406.2 kB / 0.51 GB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.3312, allocations: 148.5 kB / 0.5101 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.3318, allocations: 493.9 kB / 0.5106 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.3322, allocations: 204.6 kB / 0.5108 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.3325, allocations: 226.8 kB / 0.511 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.3328, allocations: 226.1 kB / 0.5112 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.3329, allocations: 20.5 kB / 0.5112 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.3336, allocations: 447 kB / 0.5117 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3337, allocations: 156.3 kB / 0.5118 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3339, allocations: 156.2 kB / 0.512 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.3345, allocations: 0.4969 MB / 0.5125 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3345, allocations: 0 / 0.5125 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3345, allocations: 5.094 kB / 0.5125 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3345, allocations: 0 / 0.5125 GB, free: 1.75 MB / 382.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.0006966/0.3352, allocations: 0.6006 MB / 0.513 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3353, allocations: 17.98 kB / 0.5131 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.3353, allocations: 63.62 kB / 0.5131 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.3365, allocations: 136.7 kB / 0.5133 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.3369, allocations: 302.7 kB / 0.5135 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.3369, allocations: 14.69 kB / 0.5136 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.337, allocations: 26 kB / 0.5136 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.3376, allocations: 444 kB / 0.514 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3376, allocations: 5.922 kB / 0.514 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.3377, allocations: 10.88 kB / 0.514 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.3377, allocations: 21.2 kB / 0.514 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.3383, allocations: 429.6 kB / 0.5144 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.3404, allocations: 1.718 MB / 0.5161 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.3408, allocations: 292.3 kB / 0.5164 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.341, allocations: 139 kB / 0.5165 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3411, allocations: 3.344 kB / 0.5165 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3411, allocations: 37.12 kB / 0.5166 GB, free: 14.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.3411, allocations: 0 / 0.5166 GB, free: 14.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001919/0.343, allocations: 0.7968 MB / 0.5174 GB, free: 14.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3431, allocations: 83.77 kB / 0.5174 GB, free: 14.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.3433, allocations: 209.3 kB / 0.5176 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3433, allocations: 30.86 kB / 0.5177 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.3435, allocations: 180 kB / 0.5178 GB, free: 14.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.3435, allocations: 88.52 kB / 0.5179 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.3436, allocations: 65.81 kB / 0.518 GB, free: 14.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3438, allocations: 330.3 kB / 0.5183 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3439, allocations: 108.1 kB / 0.5184 GB, free: 13.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3442, allocations: 208.4 kB / 0.5186 GB, free: 13.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.3446, allocations: 341.5 kB / 0.5189 GB, free: 13.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3446, allocations: 1.062 kB / 0.5189 GB, free: 13.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007499/0.3454, allocations: 431 kB / 0.5193 GB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3454, allocations: 6.344 kB / 0.5193 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3454, allocations: 3.5 kB / 0.5193 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.3458, allocations: 91.22 kB / 0.5194 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.346, allocations: 54.11 kB / 0.5195 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.348, allocations: 2 MB / 0.5214 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3482, allocations: 15.45 kB / 0.5215 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3482, allocations: 18.78 kB / 0.5215 GB, free: 11.33 MB / 398.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.0001826/0.3484, allocations: 179.2 kB / 0.5216 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.3485, allocations: 18.89 kB / 0.5217 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007501/0.3492, allocations: 383.1 kB / 0.522 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3493, allocations: 6.656 kB / 0.522 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3493, allocations: 1.625 kB / 0.522 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3493, allocations: 3.859 kB / 0.522 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.3508, allocations: 0.9146 MB / 0.5229 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.3508, allocations: 6.344 kB / 0.5229 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3509, allocations: 34.47 kB / 0.523 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.3512, allocations: 72.11 kB / 0.523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3512, allocations: 6.734 kB / 0.523 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.3531, allocations: 1.915 MB / 0.5249 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3531, allocations: 3.938 kB / 0.5249 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.3538, allocations: 462.2 kB / 0.5254 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.3539, allocations: 97.64 kB / 0.5255 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.3539, allocations: 3.609 kB / 0.5255 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3541, allocations: 11.05 kB / 0.5255 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3541, allocations: 24.23 kB / 0.5255 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.3541, allocations: 6.016 kB / 0.5255 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.3543, allocations: 149.6 kB / 0.5256 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3543, allocations: 0 / 0.5256 GB, free: 8.199 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00052/0.3548, allocations: 83.62 kB / 0.5257 GB, free: 8.191 MB / 398.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.0009587/0.3558, allocations: 1.008 MB / 0.5267 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.3565, allocations: 428.5 kB / 0.5271 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3565, allocations: 0 / 0.5271 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.357, allocations: 292.9 kB / 0.5274 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3574, allocations: 39.62 kB / 0.5274 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.3612, allocations: 3.02 MB / 0.5304 GB, free: 4.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.3616, allocations: 0.8012 MB / 0.5312 GB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.3617, allocations: 52.08 kB / 0.5312 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.3619, allocations: 89.58 kB / 0.5313 GB, free: 4.113 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3619, allocations: 0 / 0.5313 GB, free: 4.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3889, allocations: 5.705 MB / 0.5369 GB, free: 2.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.567/9.956, allocations: 5.094 kB / 0.5369 GB, free: 2.031 MB / 398.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