Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.00175/0.00175, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001615/0.001615, allocations: 210.5 kB / 23.74 MB, free: 4.672 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1875/0.1875, allocations: 38.54 MB / 352.5 MB, free: 12.55 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.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",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.00219/0.00219, allocations: 63.89 kB / 492.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3249, allocations: 62.47 MB / 0.542 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009476/0.3344, allocations: 7.602 MB / 0.5494 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006973/0.3414, allocations: 4.487 MB / 0.5538 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005206/0.3419, allocations: 17.38 kB / 0.5538 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.3447, allocations: 1.073 MB / 0.5549 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.3477, allocations: 1.206 MB / 0.5561 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.3485, allocations: 323.1 kB / 0.5564 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.3504, allocations: 1.401 MB / 0.5577 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008551/0.3512, allocations: 0.5225 MB / 0.5582 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.3523, allocations: 0.6323 MB / 0.5589 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.3534, allocations: 0.7437 MB / 0.5596 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3535, allocations: 64 kB / 0.5596 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.3559, allocations: 1.383 MB / 0.561 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.3564, allocations: 486.8 kB / 0.5615 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.357, allocations: 445.9 kB / 0.5619 GB, free: 112 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.3591, allocations: 1.448 MB / 0.5633 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3591, allocations: 4 kB / 0.5633 GB, free: 14.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3591, allocations: 0 / 0.5633 GB, free: 14.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3592, allocations: 0 / 0.5633 GB, free: 14.65 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001801/0.361, allocations: 1.084 MB / 0.5644 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.361, allocations: 11.98 kB / 0.5644 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.3612, allocations: 135.2 kB / 0.5645 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.3642, allocations: 387.9 kB / 0.5649 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.3651, allocations: 437.7 kB / 0.5653 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.3652, allocations: 54.36 kB / 0.5653 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3653, allocations: 72.36 kB / 0.5654 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.3672, allocations: 1.18 MB / 0.5666 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.3672, allocations: 0 / 0.5666 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.3673, allocations: 35.98 kB / 0.5666 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/0.3674, allocations: 69.95 kB / 0.5667 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3694, allocations: 1.241 MB / 0.5679 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005976/0.3754, allocations: 3.431 MB / 0.5712 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.3771, allocations: 0.9832 MB / 0.5722 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008995/0.378, allocations: 0.5862 MB / 0.5728 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.3781, allocations: 21.34 kB / 0.5728 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.3781, allocations: 43.5 kB / 0.5728 GB, free: 4.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.106e-06/0.3781, allocations: 8 kB / 0.5728 GB, free: 4.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.00695/0.3851, allocations: 3.012 MB / 0.5758 GB, free: 1.664 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.3852, allocations: 90.05 kB / 0.5759 GB, free: 1.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.3856, allocations: 365.6 kB / 0.5762 GB, free: 1.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/0.3857, allocations: 41.7 kB / 0.5762 GB, free: 1.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.386, allocations: 317 kB / 0.5765 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.3863, allocations: 333.1 kB / 0.5769 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.3866, allocations: 158.7 kB / 0.577 GB, free: 352 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.3868, allocations: 370.8 kB / 0.5774 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.3875, allocations: 465.7 kB / 0.5778 GB, free: 15.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.3884, allocations: 0.5696 MB / 0.5784 GB, free: 14.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.3901, allocations: 1.109 MB / 0.5795 GB, free: 13.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3901, allocations: 0 / 0.5795 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002736/0.3928, allocations: 1.473 MB / 0.5809 GB, free: 12.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3928, allocations: 4 kB / 0.5809 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.3928, allocations: 4 kB / 0.5809 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009823/0.3938, allocations: 337.6 kB / 0.5812 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.3946, allocations: 187.7 kB / 0.5814 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.4005, allocations: 4.073 MB / 0.5854 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.4011, allocations: 47.94 kB / 0.5854 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.4012, allocations: 39.98 kB / 0.5855 GB, free: 7.473 MB / 430.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 (80): * Single equations (assignments): 79 * 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.0004459/0.4016, allocations: 293.6 kB / 0.5857 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4017, allocations: 55.67 kB / 0.5858 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.4046, allocations: 1.555 MB / 0.5873 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.4047, allocations: 8 kB / 0.5873 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.4047, allocations: 12 kB / 0.5873 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4047, allocations: 7.969 kB / 0.5873 GB, free: 5.523 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.005513/0.4102, allocations: 2.991 MB / 0.5903 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.4102, allocations: 8 kB / 0.5903 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/0.4109, allocations: 163.8 kB / 0.5904 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008218/0.4117, allocations: 296.6 kB / 0.5907 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.4118, allocations: 23.98 kB / 0.5907 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00544/0.4172, allocations: 3.803 MB / 0.5944 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.4172, allocations: 4 kB / 0.5944 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.4199, allocations: 1.598 MB / 0.596 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4201, allocations: 67.55 kB / 0.5961 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.4203, allocations: 27.94 kB / 0.5961 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.4207, allocations: 43.89 kB / 0.5961 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4209, allocations: 76.86 kB / 0.5962 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.4209, allocations: 43.92 kB / 0.5963 GB, free: 12.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.4213, allocations: 259.1 kB / 0.5965 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4213, allocations: 7.938 kB / 0.5965 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001017/0.4223, allocations: 304 kB / 0.5968 GB, free: 11.52 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.00305/0.4253, allocations: 2.137 MB / 0.5989 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.4279, allocations: 1.339 MB / 0.6002 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.4279, allocations: 4.062 kB / 0.6002 GB, free: 7.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.4294, allocations: 0.7928 MB / 0.601 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.4302, allocations: 98.39 kB / 0.6011 GB, free: 7.051 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.443, allocations: 7.542 MB / 0.6084 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.444, allocations: 1.072 MB / 0.6095 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005546/0.4446, allocations: 180.6 kB / 0.6097 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/0.445, allocations: 271.2 kB / 0.6099 GB, free: 13.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.445, allocations: 0 / 0.6099 GB, free: 13.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05932/0.5044, allocations: 17.67 MB / 0.6272 GB, free: 12.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.74, allocations: 11.92 kB / 0.6272 GB, free: 12.16 MB / 478.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.608507010852918]