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.00121/0.00121, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001255/0.001255, allocations: 195 kB / 18 MB, free: 4.965 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.349/1.349, 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.1907/0.1907, allocations: 38.04 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 58.06 MB / 0.5036 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.004037/0.3146, allocations: 3.46 MB / 0.507 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3163, allocations: 1.523 MB / 0.5085 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3164, allocations: 9.969 kB / 0.5085 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007389/0.3172, allocations: 263.3 kB / 0.5087 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.3178, allocations: 285 kB / 0.509 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.3181, allocations: 121 kB / 0.5091 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.3185, allocations: 356 kB / 0.5095 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.3188, allocations: 137.5 kB / 0.5096 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.319, allocations: 161.5 kB / 0.5098 GB, free: 3.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.3192, allocations: 148.5 kB / 0.5099 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.3193, allocations: 14.09 kB / 0.5099 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.3198, allocations: 326.3 kB / 0.5102 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3199, allocations: 98.83 kB / 0.5103 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.32, allocations: 111.9 kB / 0.5104 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.3205, allocations: 361.5 kB / 0.5108 GB, free: 2.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3205, allocations: 1.062 kB / 0.5108 GB, free: 2.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3205, allocations: 0 / 0.5108 GB, free: 2.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3205, allocations: 0 / 0.5108 GB, free: 2.965 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.0005815/0.3211, allocations: 0.521 MB / 0.5113 GB, free: 2.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3212, allocations: 13.89 kB / 0.5113 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.3212, allocations: 54.61 kB / 0.5113 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.3222, allocations: 103.6 kB / 0.5114 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3225, allocations: 281.8 kB / 0.5117 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3225, allocations: 11.03 kB / 0.5117 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.3226, allocations: 16.62 kB / 0.5117 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.3231, allocations: 328.8 kB / 0.512 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3231, allocations: 3.938 kB / 0.5121 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3231, allocations: 6.375 kB / 0.5121 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.3231, allocations: 21.08 kB / 0.5121 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.3236, allocations: 313.1 kB / 0.5124 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.3251, allocations: 1.253 MB / 0.5136 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.3254, allocations: 169.1 kB / 0.5138 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.3255, allocations: 113.3 kB / 0.5139 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3255, allocations: 7.078 kB / 0.5139 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3256, allocations: 32.5 kB / 0.5139 GB, free: 0.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.3256, allocations: 0 / 0.5139 GB, free: 0.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001495/0.3271, allocations: 0.6682 MB / 0.5146 GB, free: 424 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3271, allocations: 92.09 kB / 0.5146 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3273, allocations: 188.2 kB / 0.5148 GB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3273, allocations: 33.64 kB / 0.5149 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3274, allocations: 156.8 kB / 0.515 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.3275, allocations: 63.75 kB / 0.5151 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.3276, allocations: 47.94 kB / 0.5151 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3277, allocations: 330.8 kB / 0.5154 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3278, allocations: 76.08 kB / 0.5155 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.328, allocations: 152.1 kB / 0.5157 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.3283, allocations: 262.3 kB / 0.5159 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3284, allocations: 0 / 0.5159 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006264/0.329, allocations: 354.9 kB / 0.5162 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.329, allocations: 7.859 kB / 0.5162 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.329, allocations: 1.781 kB / 0.5162 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.3294, allocations: 90.08 kB / 0.5163 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3296, allocations: 42.52 kB / 0.5164 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.3322, allocations: 2.167 MB / 0.5185 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.3324, allocations: 12.48 kB / 0.5185 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3325, allocations: 13.45 kB / 0.5185 GB, free: 13.32 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.0001664/0.3326, allocations: 159.2 kB / 0.5187 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.3327, allocations: 17.02 kB / 0.5187 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.3334, allocations: 325.3 kB / 0.519 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3334, allocations: 2.781 kB / 0.519 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.3334, allocations: 1.094 kB / 0.519 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3334, allocations: 1.406 kB / 0.519 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3346, allocations: 0.7478 MB / 0.5197 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3346, allocations: 5.141 kB / 0.5197 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3348, allocations: 29.22 kB / 0.5198 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.3351, allocations: 79.33 kB / 0.5198 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3351, allocations: 6.75 kB / 0.5198 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.3371, allocations: 2.038 MB / 0.5218 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3371, allocations: 1.891 kB / 0.5218 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.3377, allocations: 411.1 kB / 0.5222 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.3378, allocations: 101.4 kB / 0.5223 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3378, allocations: 1.5 kB / 0.5223 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.338, allocations: 14.55 kB / 0.5223 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.338, allocations: 16.23 kB / 0.5224 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3381, allocations: 10.3 kB / 0.5224 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.3382, allocations: 140.6 kB / 0.5225 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 0 / 0.5225 GB, free: 10.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004861/0.3387, allocations: 68.47 kB / 0.5226 GB, free: 10.29 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.0008175/0.3395, allocations: 0.9459 MB / 0.5235 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.3402, allocations: 385.7 kB / 0.5239 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3402, allocations: 0 / 0.5239 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.3406, allocations: 261.4 kB / 0.5241 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.341, allocations: 36.83 kB / 0.5241 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.3444, allocations: 2.627 MB / 0.5267 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3448, allocations: 0.7622 MB / 0.5275 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.3449, allocations: 44.22 kB / 0.5275 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.345, allocations: 67.95 kB / 0.5276 GB, free: 6.477 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.345, allocations: 0 / 0.5276 GB, free: 6.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3718, allocations: 5.335 MB / 0.5328 GB, free: 4.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.81, allocations: 11.66 kB / 0.5328 GB, free: 4.934 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