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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 109.9 kB / 17.06 MB, free: 6.02 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.001625/0.001626, allocations: 192 kB / 18 MB, free: 5.102 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.468/1.468, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1882/0.1882, allocations: 38.03 MB / 329.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 71.89 kB / 457.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3323, allocations: 58.06 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004896/0.3373, allocations: 3.46 MB / 0.507 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3391, allocations: 1.525 MB / 0.5085 GB, free: 4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3393, allocations: 10.25 kB / 0.5085 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007849/0.3401, allocations: 260.5 kB / 0.5087 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.3408, allocations: 279.6 kB / 0.509 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.3412, allocations: 130 kB / 0.5091 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.3416, allocations: 350.4 kB / 0.5095 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.3419, allocations: 138.5 kB / 0.5096 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.3421, allocations: 152 kB / 0.5097 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3423, allocations: 156.6 kB / 0.5099 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.3424, allocations: 14.91 kB / 0.5099 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.3429, allocations: 318.5 kB / 0.5102 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.343, allocations: 98.09 kB / 0.5103 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3431, allocations: 111.8 kB / 0.5104 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.3437, allocations: 362.5 kB / 0.5108 GB, free: 2.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3437, allocations: 0 / 0.5108 GB, free: 2.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3437, allocations: 0 / 0.5108 GB, free: 2.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3437, allocations: 1.156 kB / 0.5108 GB, free: 2.949 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006216/0.3443, allocations: 0.5167 MB / 0.5113 GB, free: 2.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3444, allocations: 13.58 kB / 0.5113 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.969e-05/0.3444, allocations: 58.95 kB / 0.5113 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009929/0.3454, allocations: 110.8 kB / 0.5114 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3457, allocations: 271.2 kB / 0.5117 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3457, allocations: 16.34 kB / 0.5117 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.3458, allocations: 18.92 kB / 0.5117 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/0.3463, allocations: 329 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.3463, allocations: 1.828 kB / 0.512 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.3463, allocations: 9.797 kB / 0.5121 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.3464, allocations: 20.47 kB / 0.5121 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.3468, allocations: 312.5 kB / 0.5124 GB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3482, allocations: 1.255 MB / 0.5136 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3485, allocations: 160.4 kB / 0.5138 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3487, allocations: 108.3 kB / 0.5139 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3487, allocations: 6.406 kB / 0.5139 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3487, allocations: 36.38 kB / 0.5139 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.3487, allocations: 3.984 kB / 0.5139 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001441/0.3502, allocations: 0.6614 MB / 0.5145 GB, free: 408 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3502, allocations: 92.55 kB / 0.5146 GB, free: 300 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.3504, allocations: 186.6 kB / 0.5148 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3504, allocations: 30.92 kB / 0.5148 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.3505, allocations: 156.1 kB / 0.515 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.3506, allocations: 65.78 kB / 0.5151 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.3507, allocations: 47.05 kB / 0.5151 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3508, allocations: 328.4 kB / 0.5154 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.351, allocations: 82.48 kB / 0.5155 GB, free: 15.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.3512, allocations: 154.6 kB / 0.5156 GB, free: 15.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.3515, allocations: 258.9 kB / 0.5159 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3515, allocations: 0 / 0.5159 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006489/0.3522, allocations: 355.3 kB / 0.5162 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3522, allocations: 7.5 kB / 0.5162 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3522, allocations: 2.406 kB / 0.5162 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.3526, allocations: 89.25 kB / 0.5163 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3528, allocations: 38.95 kB / 0.5164 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.3558, allocations: 2.171 MB / 0.5185 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.356, allocations: 12.48 kB / 0.5185 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.356, allocations: 12.62 kB / 0.5185 GB, free: 13.3 MB / 398.1 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.0001947/0.3562, allocations: 164.3 kB / 0.5187 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.3563, allocations: 16.73 kB / 0.5187 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.3569, allocations: 329.2 kB / 0.519 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.357, allocations: 4 kB / 0.519 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.357, allocations: 0 / 0.519 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.357, allocations: 2.203 kB / 0.519 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.3582, allocations: 0.7436 MB / 0.5197 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3582, allocations: 1.219 kB / 0.5197 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3584, allocations: 29.16 kB / 0.5197 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.3587, allocations: 78.75 kB / 0.5198 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.3587, allocations: 7.281 kB / 0.5198 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.3609, allocations: 2.045 MB / 0.5218 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3609, allocations: 1.688 kB / 0.5218 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.3615, allocations: 407.3 kB / 0.5222 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.3616, allocations: 100.2 kB / 0.5223 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.3617, allocations: 3.031 kB / 0.5223 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.3618, allocations: 14.08 kB / 0.5223 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.3618, allocations: 17.02 kB / 0.5223 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3619, allocations: 6.312 kB / 0.5224 GB, free: 10.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.362, allocations: 139.7 kB / 0.5225 GB, free: 10.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.362, allocations: 1.188 kB / 0.5225 GB, free: 10.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004679/0.3625, allocations: 67.47 kB / 0.5225 GB, free: 10.27 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 (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.000927/0.3634, allocations: 0.9471 MB / 0.5235 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007024/0.3641, allocations: 392.5 kB / 0.5238 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3641, allocations: 0.9375 kB / 0.5239 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.3646, allocations: 251.7 kB / 0.5241 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.365, allocations: 42.62 kB / 0.5241 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.3683, allocations: 2.63 MB / 0.5267 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.3688, allocations: 0.7629 MB / 0.5274 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.3689, allocations: 42.94 kB / 0.5275 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.369, allocations: 59.59 kB / 0.5275 GB, free: 6.465 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.369, allocations: 1.219 kB / 0.5275 GB, free: 6.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.4016, allocations: 5.338 MB / 0.5328 GB, free: 4.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.39, allocations: 9.625 kB / 0.5328 GB, free: 4.984 MB / 398.1 MB (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.FixedLoadTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches