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.001775/0.001775, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.00211/0.00211, allocations: 211.8 kB / 24.51 MB, free: 3.973 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.1884/0.1884, allocations: 38.55 MB / 353.2 MB, free: 12.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="cs",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.002011/0.002011, allocations: 70.39 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3231, allocations: 62.45 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008806/0.3319, allocations: 7.018 MB / 0.5495 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006259/0.3382, allocations: 4.108 MB / 0.5536 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.3387, allocations: 16.19 kB / 0.5536 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.3414, allocations: 1.022 MB / 0.5546 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.3451, allocations: 1.211 MB / 0.5558 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3462, allocations: 323.7 kB / 0.5561 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00258/0.3488, allocations: 1.405 MB / 0.5574 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.3499, allocations: 0.5173 MB / 0.5579 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.3516, allocations: 0.638 MB / 0.5586 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.3531, allocations: 0.7476 MB / 0.5593 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.3533, allocations: 68 kB / 0.5594 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.3558, allocations: 1.126 MB / 0.5605 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.3564, allocations: 486.7 kB / 0.5609 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.3572, allocations: 374.4 kB / 0.5613 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.36, allocations: 1.464 MB / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.36, allocations: 0 / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.36, allocations: 0 / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.869e-05/0.36, allocations: 0 / 0.5627 GB, free: 15.71 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.002215/0.3622, allocations: 1.082 MB / 0.5638 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3623, allocations: 11.98 kB / 0.5638 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.878e-05/0.3623, allocations: 22.19 kB / 0.5638 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.3625, allocations: 131.2 kB / 0.5639 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/0.366, allocations: 391.9 kB / 0.5643 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/0.3669, allocations: 433.7 kB / 0.5647 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.3669, allocations: 54.36 kB / 0.5648 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.3671, allocations: 80.3 kB / 0.5648 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.3691, allocations: 1.179 MB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.3692, allocations: 4 kB / 0.566 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.3693, allocations: 24 kB / 0.566 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.3694, allocations: 73.95 kB / 0.5661 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.3713, allocations: 1.237 MB / 0.5673 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/0.3767, allocations: 3.24 MB / 0.5705 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.3784, allocations: 0.9862 MB / 0.5714 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000902/0.3793, allocations: 0.59 MB / 0.572 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/0.3794, allocations: 12.98 kB / 0.572 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3794, allocations: 51.69 kB / 0.5721 GB, free: 5.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.196e-06/0.3794, allocations: 0 / 0.5721 GB, free: 5.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.006936/0.3864, allocations: 3.006 MB / 0.575 GB, free: 2.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.3864, allocations: 86.11 kB / 0.5751 GB, free: 2.805 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.3869, allocations: 369.6 kB / 0.5754 GB, free: 2.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.3869, allocations: 37.7 kB / 0.5755 GB, free: 2.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.3872, allocations: 320.9 kB / 0.5758 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.3876, allocations: 329.1 kB / 0.5761 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.3878, allocations: 162.6 kB / 0.5762 GB, free: 1.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.388, allocations: 370.8 kB / 0.5766 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.3887, allocations: 465.7 kB / 0.577 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/0.3896, allocations: 0.5657 MB / 0.5776 GB, free: 168 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.3912, allocations: 1.113 MB / 0.5787 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3912, allocations: 0 / 0.5787 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002711/0.3939, allocations: 1.466 MB / 0.5801 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.394, allocations: 8 kB / 0.5801 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.394, allocations: 0 / 0.5801 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009965/0.395, allocations: 336.7 kB / 0.5804 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.3957, allocations: 179.7 kB / 0.5806 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/0.4015, allocations: 3.924 MB / 0.5844 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.4021, allocations: 51.94 kB / 0.5845 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.4022, allocations: 31.98 kB / 0.5845 GB, free: 8.914 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.0004387/0.4026, allocations: 297.5 kB / 0.5848 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4027, allocations: 59.62 kB / 0.5849 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.4055, allocations: 1.551 MB / 0.5864 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.4055, allocations: 15.98 kB / 0.5864 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4055, allocations: 4 kB / 0.5864 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4055, allocations: 3.984 kB / 0.5864 GB, free: 6.965 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.005169/0.4107, allocations: 2.785 MB / 0.5891 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4107, allocations: 448 / 0.5891 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.4114, allocations: 175.7 kB / 0.5893 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008554/0.4122, allocations: 284.5 kB / 0.5896 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.4123, allocations: 27.98 kB / 0.5896 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/0.4176, allocations: 3.713 MB / 0.5932 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.4176, allocations: 7.938 kB / 0.5932 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.4203, allocations: 1.583 MB / 0.5948 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.4204, allocations: 67.55 kB / 0.5948 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.4205, allocations: 23.94 kB / 0.5949 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.421, allocations: 43.95 kB / 0.5949 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.4212, allocations: 92.72 kB / 0.595 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/0.4213, allocations: 36 kB / 0.595 GB, free: 13.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.4216, allocations: 255.1 kB / 0.5953 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4216, allocations: 0 / 0.5953 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009993/0.4226, allocations: 308 kB / 0.5956 GB, free: 13.31 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.002999/0.4256, allocations: 2.149 MB / 0.5977 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.4279, allocations: 1.342 MB / 0.599 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.4279, allocations: 0 / 0.599 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.4292, allocations: 0.7921 MB / 0.5997 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.43, allocations: 103.3 kB / 0.5998 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.4415, allocations: 7.542 MB / 0.6072 GB, free: 1.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.4421, allocations: 480.8 kB / 0.6077 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000467/0.4426, allocations: 180.6 kB / 0.6078 GB, free: 380 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.443, allocations: 259.3 kB / 0.6081 GB, free: 124 kB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.443, allocations: 0 / 0.6081 GB, free: 124 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.49, allocations: 17.83 MB / 0.6255 GB, free: 14.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.62, allocations: 7.344 kB / 0.6255 GB, free: 14.46 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.76577139098663]