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.001356/0.001356, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001543/0.001543, allocations: 215 kB / 21.45 MB, free: 1.617 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.1871/0.1871, allocations: 38.5 MB / 349.4 MB, free: 2.609 MB / 270.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.002022/0.002022, allocations: 62.94 kB / 487.8 MB, free: 32.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1175, allocations: 62.42 MB / 0.5374 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009455/0.127, allocations: 7.514 MB / 0.5447 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006969/0.1339, allocations: 4.455 MB / 0.549 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005307/0.1345, allocations: 15.94 kB / 0.5491 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.1374, allocations: 1.047 MB / 0.5501 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.1402, allocations: 1.211 MB / 0.5513 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.1411, allocations: 331.1 kB / 0.5516 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.1429, allocations: 1.399 MB / 0.5529 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/0.1438, allocations: 0.5206 MB / 0.5535 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.145, allocations: 0.6381 MB / 0.5541 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.1461, allocations: 0.7438 MB / 0.5548 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1463, allocations: 64 kB / 0.5549 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.1487, allocations: 1.372 MB / 0.5562 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005908/0.1493, allocations: 494.7 kB / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.1499, allocations: 441.9 kB / 0.5571 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.1524, allocations: 1.464 MB / 0.5585 GB, free: 3.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1524, allocations: 0 / 0.5585 GB, free: 3.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1524, allocations: 4 kB / 0.5585 GB, free: 3.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.47e-05/0.1525, allocations: 0 / 0.5585 GB, free: 3.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.002416/0.1549, allocations: 1.149 MB / 0.5597 GB, free: 2.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.155, allocations: 8.031 kB / 0.5597 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.307e-05/0.155, allocations: 26.19 kB / 0.5597 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.1552, allocations: 123.2 kB / 0.5598 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/0.1586, allocations: 395.9 kB / 0.5602 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.1594, allocations: 494.8 kB / 0.5607 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.535e-05/0.1594, allocations: 54.36 kB / 0.5607 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.1596, allocations: 72.36 kB / 0.5608 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.1616, allocations: 1.183 MB / 0.5619 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.1616, allocations: 0 / 0.5619 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.1617, allocations: 28 kB / 0.562 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.1618, allocations: 69.95 kB / 0.562 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.1639, allocations: 1.245 MB / 0.5632 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005963/0.1699, allocations: 3.5 MB / 0.5667 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1716, allocations: 0.9879 MB / 0.5676 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008957/0.1725, allocations: 0.5979 MB / 0.5682 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-05/0.1726, allocations: 16.94 kB / 0.5682 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.1726, allocations: 39.56 kB / 0.5683 GB, free: 9.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.016e-06/0.1727, allocations: 0 / 0.5683 GB, free: 9.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.007172/0.1798, allocations: 3.096 MB / 0.5713 GB, free: 6.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.1799, allocations: 90.23 kB / 0.5714 GB, free: 6.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.1803, allocations: 365.6 kB / 0.5717 GB, free: 5.953 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.1804, allocations: 41.7 kB / 0.5718 GB, free: 5.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.1807, allocations: 320.9 kB / 0.5721 GB, free: 5.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.181, allocations: 329.1 kB / 0.5724 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.1813, allocations: 154.6 kB / 0.5725 GB, free: 5.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1814, allocations: 366.8 kB / 0.5729 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.1822, allocations: 473.7 kB / 0.5733 GB, free: 4.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008534/0.183, allocations: 0.5657 MB / 0.5739 GB, free: 3.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.1848, allocations: 1.113 MB / 0.575 GB, free: 2.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1848, allocations: 0 / 0.575 GB, free: 2.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002737/0.1875, allocations: 1.473 MB / 0.5764 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1876, allocations: 4 kB / 0.5764 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1876, allocations: 7.938 kB / 0.5764 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.1886, allocations: 328.8 kB / 0.5767 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.1894, allocations: 187.7 kB / 0.5769 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006174/0.1956, allocations: 4.193 MB / 0.581 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.1962, allocations: 47.94 kB / 0.581 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.1963, allocations: 39.98 kB / 0.5811 GB, free: 12.1 MB / 446.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.0005133/0.1968, allocations: 297.5 kB / 0.5814 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.1969, allocations: 59.67 kB / 0.5814 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.2, allocations: 1.551 MB / 0.5829 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.2, allocations: 12 kB / 0.583 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.2, allocations: 4 kB / 0.583 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.2, allocations: 7.969 kB / 0.583 GB, free: 10.15 MB / 446.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.005793/0.2058, allocations: 3.019 MB / 0.5859 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.2058, allocations: 4 kB / 0.5859 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007134/0.2065, allocations: 175.6 kB / 0.5861 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/0.2075, allocations: 284.9 kB / 0.5864 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/0.2075, allocations: 27.98 kB / 0.5864 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005714/0.2133, allocations: 3.91 MB / 0.5902 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/0.2133, allocations: 16 kB / 0.5902 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.2161, allocations: 1.587 MB / 0.5918 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.2164, allocations: 144.7 kB / 0.5919 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2165, allocations: 27.92 kB / 0.5919 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.2169, allocations: 39.97 kB / 0.592 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.2171, allocations: 80.77 kB / 0.592 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/0.2172, allocations: 39.98 kB / 0.5921 GB, free: 460 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003299/0.2175, allocations: 263.2 kB / 0.5923 GB, free: 200 kB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2175, allocations: 0 / 0.5923 GB, free: 200 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001012/0.2185, allocations: 300 kB / 0.5926 GB, free: 15.9 MB / 462.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.003054/0.2216, allocations: 2.157 MB / 0.5947 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002467/0.224, allocations: 1.331 MB / 0.596 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.224, allocations: 4 kB / 0.596 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.2254, allocations: 0.793 MB / 0.5968 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.2262, allocations: 102.4 kB / 0.5969 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.2381, allocations: 7.54 MB / 0.6043 GB, free: 3.637 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008907/0.239, allocations: 1.076 MB / 0.6053 GB, free: 2.535 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004623/0.2394, allocations: 184.6 kB / 0.6055 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.2399, allocations: 259.3 kB / 0.6057 GB, free: 2.098 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2399, allocations: 3.938 kB / 0.6057 GB, free: 2.094 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2798/0.5196, allocations: 16.89 MB / 0.6222 GB, free: 63.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12, allocations: 17.23 kB / 0.6223 GB, free: 63.14 MB / 462.1 MB " [Timeout remaining time 648] (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.1999040649971]