Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2105/0.2105, allocations: 38.52 MB / 352.5 MB, free: 12.64 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 67.03 kB / 492.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3548, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009329/0.3641, allocations: 7.873 MB / 0.5497 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008379/0.3725, allocations: 4.847 MB / 0.5544 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009142/0.3734, allocations: 17.72 kB / 0.5544 GB, free: 6.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.3768, allocations: 1.127 MB / 0.5555 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004581/0.3814, allocations: 1.274 MB / 0.5568 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3829, allocations: 370.2 kB / 0.5571 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.3857, allocations: 1.458 MB / 0.5586 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.387, allocations: 0.5193 MB / 0.5591 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.3889, allocations: 0.6575 MB / 0.5597 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.3906, allocations: 0.771 MB / 0.5605 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.3908, allocations: 68 kB / 0.5605 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.3942, allocations: 1.481 MB / 0.562 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007766/0.395, allocations: 0.4948 MB / 0.5625 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.396, allocations: 461.9 kB / 0.5629 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.3993, allocations: 1.542 MB / 0.5644 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3993, allocations: 0 / 0.5644 GB, free: 13.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3993, allocations: 0 / 0.5644 GB, free: 13.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.397e-05/0.3994, allocations: 0 / 0.5644 GB, free: 13.54 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002541/0.4019, allocations: 1.117 MB / 0.5655 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.402, allocations: 11.98 kB / 0.5655 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.4022, allocations: 139.4 kB / 0.5656 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.4058, allocations: 411.9 kB / 0.566 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.4069, allocations: 445.6 kB / 0.5665 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.407, allocations: 62.34 kB / 0.5665 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.4072, allocations: 76.31 kB / 0.5666 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.4094, allocations: 1.23 MB / 0.5678 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.4094, allocations: 0 / 0.5678 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.4095, allocations: 31.98 kB / 0.5678 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/0.4096, allocations: 81.89 kB / 0.5679 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.4119, allocations: 1.315 MB / 0.5692 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006742/0.4187, allocations: 3.606 MB / 0.5727 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.4206, allocations: 1.02 MB / 0.5737 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/0.4215, allocations: 0.5707 MB / 0.5743 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.4216, allocations: 17.14 kB / 0.5743 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4216, allocations: 43.56 kB / 0.5743 GB, free: 3.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.936e-06/0.4216, allocations: 0 / 0.5743 GB, free: 3.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007475/0.4291, allocations: 3.068 MB / 0.5773 GB, free: 76 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.4292, allocations: 90.11 kB / 0.5774 GB, free: 15.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.4297, allocations: 377.6 kB / 0.5778 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.4298, allocations: 41.7 kB / 0.5778 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.43, allocations: 336.9 kB / 0.5781 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.4303, allocations: 333.1 kB / 0.5784 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.4306, allocations: 166.5 kB / 0.5786 GB, free: 14.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4308, allocations: 370.8 kB / 0.5789 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/0.4316, allocations: 469.7 kB / 0.5794 GB, free: 13.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/0.4325, allocations: 0.5743 MB / 0.58 GB, free: 13.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.4342, allocations: 1.114 MB / 0.581 GB, free: 12.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4343, allocations: 0 / 0.581 GB, free: 12.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002749/0.437, allocations: 1.466 MB / 0.5825 GB, free: 10.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.437, allocations: 12 kB / 0.5825 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.437, allocations: 15.92 kB / 0.5825 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000998/0.438, allocations: 336.6 kB / 0.5828 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.4388, allocations: 179.7 kB / 0.583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.445, allocations: 4.064 MB / 0.587 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.4456, allocations: 43.95 kB / 0.587 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.4457, allocations: 43.91 kB / 0.587 GB, free: 5.832 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.4462, allocations: 301.5 kB / 0.5873 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.4464, allocations: 59.62 kB / 0.5874 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.4494, allocations: 1.544 MB / 0.5889 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4494, allocations: 8 kB / 0.5889 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4495, allocations: 8 kB / 0.5889 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.4495, allocations: 7.969 kB / 0.5889 GB, free: 3.887 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.4554, allocations: 2.972 MB / 0.5918 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.4554, allocations: 4 kB / 0.5918 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.4561, allocations: 163.8 kB / 0.592 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008634/0.457, allocations: 285 kB / 0.5923 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/0.4571, allocations: 20 kB / 0.5923 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005724/0.4628, allocations: 3.803 MB / 0.596 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.4628, allocations: 7.938 kB / 0.596 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.4657, allocations: 1.567 MB / 0.5975 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4659, allocations: 87.41 kB / 0.5976 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.466, allocations: 20 kB / 0.5976 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.4664, allocations: 39.97 kB / 0.5977 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4666, allocations: 84.72 kB / 0.5977 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.4667, allocations: 39.98 kB / 0.5978 GB, free: 10.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.467, allocations: 263.1 kB / 0.598 GB, free: 10.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.467, allocations: 8 kB / 0.598 GB, free: 10.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001056/0.468, allocations: 308 kB / 0.5983 GB, free: 9.926 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003143/0.4712, allocations: 2.129 MB / 0.6004 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.4738, allocations: 1.327 MB / 0.6017 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.4738, allocations: 0 / 0.6017 GB, free: 6.387 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.4751, allocations: 0.7967 MB / 0.6025 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.476, allocations: 113.1 kB / 0.6026 GB, free: 5.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.49, allocations: 7.64 MB / 0.6101 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.4913, allocations: 1.079 MB / 0.6111 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005905/0.4919, allocations: 188.7 kB / 0.6113 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.4924, allocations: 271.3 kB / 0.6116 GB, free: 12.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4924, allocations: 0 / 0.6116 GB, free: 12.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.5577, allocations: 17.85 MB / 0.629 GB, free: 10.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.71, allocations: 3.938 kB / 0.629 GB, free: 10.28 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.682563067181036]