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.001083/0.001083, allocations: 107.3 kB / 16.92 MB, free: 5.703 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.001132/0.001133, allocations: 191.5 kB / 17.85 MB, free: 5.195 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.346/1.346, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1804/0.1804, allocations: 38.05 MB / 329.7 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 62.02 kB / 398.9 MB, free: 33.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.096, allocations: 58.06 MB / 457 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.006058/0.1021, allocations: 3.461 MB / 460.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.1043, allocations: 1.524 MB / 462 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1045, allocations: 7.938 kB / 462 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008677/0.1054, allocations: 263 kB / 462.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.106, allocations: 270.9 kB / 462.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1063, allocations: 131.6 kB / 462.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.1067, allocations: 354.9 kB / 463 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.107, allocations: 144.3 kB / 463.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.1073, allocations: 143.4 kB / 463.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1075, allocations: 147.5 kB / 463.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.1076, allocations: 23.94 kB / 463.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.1081, allocations: 323.1 kB / 463.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1082, allocations: 99.75 kB / 463.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1084, allocations: 107.5 kB / 463.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.1088, allocations: 355 kB / 464.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1088, allocations: 0 / 464.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1089, allocations: 0 / 464.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1089, allocations: 0 / 464.3 MB, free: 0.6484 MB / 334.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.0007192/0.1096, allocations: 0.5141 MB / 464.8 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1096, allocations: 19.89 kB / 464.8 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.1097, allocations: 50.73 kB / 464.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.1107, allocations: 100.6 kB / 465 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.111, allocations: 274.5 kB / 465.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.111, allocations: 12.33 kB / 465.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1111, allocations: 16.38 kB / 465.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.1116, allocations: 329.8 kB / 465.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1116, allocations: 7.922 kB / 465.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1116, allocations: 8 kB / 465.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.1117, allocations: 19.98 kB / 465.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.1121, allocations: 311.7 kB / 465.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.1141, allocations: 1.264 MB / 467.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.1144, allocations: 161 kB / 467.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1145, allocations: 109.7 kB / 467.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.1146, allocations: 4 kB / 467.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1146, allocations: 34.56 kB / 467.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/0.1146, allocations: 0 / 467.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001647/0.1163, allocations: 0.6699 MB / 468.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1163, allocations: 89.05 kB / 468.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1165, allocations: 186.4 kB / 468.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1166, allocations: 29.7 kB / 468.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1167, allocations: 148 kB / 468.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.1167, allocations: 59.11 kB / 468.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.1168, allocations: 49.83 kB / 468.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.117, allocations: 330.8 kB / 469 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1171, allocations: 79.95 kB / 469.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1173, allocations: 153.3 kB / 469.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.1177, allocations: 270.9 kB / 469.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1177, allocations: 0 / 469.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006061/0.1183, allocations: 349.8 kB / 469.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1183, allocations: 4.281 kB / 469.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1183, allocations: 8 kB / 469.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.1187, allocations: 92.77 kB / 470 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1189, allocations: 35.92 kB / 470 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/0.1214, allocations: 2.184 MB / 472.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1215, allocations: 4 kB / 472.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.1215, allocations: 15.98 kB / 472.2 MB, free: 8.188 MB / 350.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.0001861/0.1217, allocations: 157.7 kB / 472.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1218, allocations: 15.81 kB / 472.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000628/0.1224, allocations: 326.5 kB / 472.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1224, allocations: 0 / 472.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1224, allocations: 4 kB / 472.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1224, allocations: 0 / 472.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.1237, allocations: 0.7525 MB / 473.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1237, allocations: 4.047 kB / 473.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1238, allocations: 27.97 kB / 473.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.1241, allocations: 76.84 kB / 473.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1241, allocations: 11.98 kB / 473.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.1262, allocations: 2.029 MB / 475.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1262, allocations: 3.984 kB / 475.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.1268, allocations: 418.4 kB / 476 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1269, allocations: 96.84 kB / 476.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1269, allocations: 7.938 kB / 476.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1271, allocations: 8 kB / 476.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.1271, allocations: 19.97 kB / 476.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1271, allocations: 8 kB / 476.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1273, allocations: 140.3 kB / 476.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1273, allocations: 0 / 476.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.1277, allocations: 68 kB / 476.3 MB, free: 3.777 MB / 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 (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.0008401/0.1286, allocations: 0.9408 MB / 477.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.1293, allocations: 406.6 kB / 477.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1293, allocations: 0 / 477.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.1297, allocations: 250.5 kB / 477.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1301, allocations: 44.34 kB / 478 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.1332, allocations: 2.62 MB / 480.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1335, allocations: 0.7636 MB / 481.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1337, allocations: 49.67 kB / 481.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.1338, allocations: 59.42 kB / 481.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1338, allocations: 0 / 481.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.158, allocations: 5.197 MB / 486.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.2, allocations: 11.94 kB / 486.7 MB, free: 9.32 MB / 366.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