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.001741/0.001741, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002407/0.002407, allocations: 212 kB / 23.73 MB, free: 4.387 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1862/0.1862, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.002042/0.002042, allocations: 59.91 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 62.47 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008907/0.3088, allocations: 7.029 MB / 0.5488 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.3154, allocations: 4.119 MB / 0.5528 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.3158, allocations: 15.75 kB / 0.5528 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002695/0.3185, allocations: 1.02 MB / 0.5538 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.3213, allocations: 1.214 MB / 0.555 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008768/0.3222, allocations: 318.8 kB / 0.5553 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.3238, allocations: 1.402 MB / 0.5567 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008307/0.3246, allocations: 0.5117 MB / 0.5572 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.3256, allocations: 0.6381 MB / 0.5578 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009958/0.3266, allocations: 0.7164 MB / 0.5585 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3267, allocations: 60 kB / 0.5586 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.3289, allocations: 1.13 MB / 0.5597 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005071/0.3294, allocations: 482.7 kB / 0.5601 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.3298, allocations: 370.4 kB / 0.5605 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.332, allocations: 1.468 MB / 0.5619 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.332, allocations: 0 / 0.5619 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.332, allocations: 0 / 0.5619 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.332, allocations: 3.938 kB / 0.5619 GB, free: 15.77 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.001705/0.3337, allocations: 1.07 MB / 0.563 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3337, allocations: 15.98 kB / 0.563 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.3339, allocations: 135.1 kB / 0.5631 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.3368, allocations: 391.9 kB / 0.5635 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/0.3378, allocations: 437.7 kB / 0.5639 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.3378, allocations: 54.36 kB / 0.564 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3379, allocations: 72.36 kB / 0.564 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.3399, allocations: 1.176 MB / 0.5652 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.34, allocations: 7.875 kB / 0.5652 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.34, allocations: 28 kB / 0.5652 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.3402, allocations: 73.95 kB / 0.5653 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.3422, allocations: 1.23 MB / 0.5665 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.3485, allocations: 3.229 MB / 0.5696 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3503, allocations: 0.9835 MB / 0.5706 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009058/0.3512, allocations: 0.59 MB / 0.5712 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.918e-05/0.3512, allocations: 17 kB / 0.5712 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3513, allocations: 43.56 kB / 0.5712 GB, free: 6.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.176e-06/0.3513, allocations: 3.938 kB / 0.5712 GB, free: 6.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006835/0.3581, allocations: 3.006 MB / 0.5742 GB, free: 3.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.3582, allocations: 90.05 kB / 0.5743 GB, free: 2.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.3586, allocations: 369.6 kB / 0.5746 GB, free: 2.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-05/0.3587, allocations: 41.7 kB / 0.5746 GB, free: 2.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/0.3589, allocations: 320.9 kB / 0.575 GB, free: 2.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.3592, allocations: 337.1 kB / 0.5753 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002573/0.3595, allocations: 154.6 kB / 0.5754 GB, free: 1.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3597, allocations: 366.8 kB / 0.5758 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/0.3604, allocations: 469.7 kB / 0.5762 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.3613, allocations: 0.5734 MB / 0.5768 GB, free: 260 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.363, allocations: 1.113 MB / 0.5779 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.363, allocations: 0 / 0.5779 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00267/0.3657, allocations: 1.466 MB / 0.5793 GB, free: 13.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3657, allocations: 10.81 kB / 0.5793 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3657, allocations: 4 kB / 0.5793 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3667, allocations: 337.7 kB / 0.5796 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.3675, allocations: 183.7 kB / 0.5798 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.3735, allocations: 3.916 MB / 0.5836 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.3741, allocations: 43.95 kB / 0.5837 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.3742, allocations: 39.98 kB / 0.5837 GB, free: 9.004 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.0004532/0.3746, allocations: 293.5 kB / 0.584 GB, free: 8.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.3747, allocations: 63.61 kB / 0.5841 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002875/0.3776, allocations: 1.555 MB / 0.5856 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3776, allocations: 8 kB / 0.5856 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.3776, allocations: 11.94 kB / 0.5856 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3777, allocations: 3.984 kB / 0.5856 GB, free: 7.051 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.005579/0.3832, allocations: 2.774 MB / 0.5883 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.3832, allocations: 4.438 kB / 0.5883 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.3839, allocations: 167.8 kB / 0.5885 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.3847, allocations: 288.5 kB / 0.5887 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.3848, allocations: 27.98 kB / 0.5888 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/0.3904, allocations: 3.699 MB / 0.5924 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.3904, allocations: 11.88 kB / 0.5924 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/0.3931, allocations: 1.587 MB / 0.5939 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.3933, allocations: 67.56 kB / 0.594 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3934, allocations: 31.92 kB / 0.594 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.3938, allocations: 43.97 kB / 0.5941 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.394, allocations: 84.78 kB / 0.5942 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.3941, allocations: 39.92 kB / 0.5942 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000329/0.3944, allocations: 255.2 kB / 0.5944 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3944, allocations: 3.938 kB / 0.5944 GB, free: 13.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000943/0.3954, allocations: 308 kB / 0.5947 GB, free: 13.41 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.002918/0.3983, allocations: 2.145 MB / 0.5968 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.4006, allocations: 1.342 MB / 0.5981 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4006, allocations: 4.188 kB / 0.5981 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.4019, allocations: 0.789 MB / 0.5989 GB, free: 9.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.4026, allocations: 105.4 kB / 0.599 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.4146, allocations: 7.538 MB / 0.6064 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/0.4153, allocations: 480.8 kB / 0.6068 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005599/0.4158, allocations: 184.6 kB / 0.607 GB, free: 480 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.4163, allocations: 259.3 kB / 0.6073 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4163, allocations: 0 / 0.6073 GB, free: 224 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/0.4715, allocations: 17.84 MB / 0.6247 GB, free: 14.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.78, allocations: 4.062 kB / 0.6247 GB, free: 14.53 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.720014416147023]