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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2191/0.2191, allocations: 38.5 MB / 342.5 MB, free: 8.07 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 58.78 kB / 478.6 MB, free: 33.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1315, allocations: 61.25 MB / 0.5272 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009812/0.1413, allocations: 7.77 MB / 0.5348 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007484/0.1488, allocations: 4.778 MB / 0.5395 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.1494, allocations: 15.94 kB / 0.5395 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003036/0.1524, allocations: 1.1 MB / 0.5406 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.1558, allocations: 1.273 MB / 0.5418 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1569, allocations: 367 kB / 0.5422 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.1588, allocations: 1.469 MB / 0.5436 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.1596, allocations: 0.529 MB / 0.5441 GB, free: 12 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.1606, allocations: 0.6381 MB / 0.5447 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.1617, allocations: 0.7827 MB / 0.5455 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1619, allocations: 68 kB / 0.5456 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.1646, allocations: 1.477 MB / 0.547 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.1651, allocations: 498.7 kB / 0.5475 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005846/0.1657, allocations: 465.8 kB / 0.5479 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.1685, allocations: 1.542 MB / 0.5494 GB, free: 10.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1685, allocations: 0 / 0.5494 GB, free: 10.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1685, allocations: 0 / 0.5494 GB, free: 10.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.1685, allocations: 0 / 0.5494 GB, free: 10.55 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.001982/0.1705, allocations: 1.192 MB / 0.5506 GB, free: 9.297 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1705, allocations: 11.89 kB / 0.5506 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.1707, allocations: 135.4 kB / 0.5507 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.1741, allocations: 415.8 kB / 0.5511 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.1753, allocations: 0.4995 MB / 0.5516 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.1754, allocations: 58.36 kB / 0.5517 GB, free: 8.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1755, allocations: 72.36 kB / 0.5517 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.1777, allocations: 1.23 MB / 0.5529 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.1777, allocations: 7.891 kB / 0.5529 GB, free: 6.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.1778, allocations: 35.97 kB / 0.553 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.1779, allocations: 77.95 kB / 0.5531 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.1802, allocations: 1.304 MB / 0.5543 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006821/0.187, allocations: 3.689 MB / 0.5579 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.1889, allocations: 1.014 MB / 0.5589 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009603/0.1898, allocations: 0.5785 MB / 0.5595 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.8e-05/0.1899, allocations: 13.14 kB / 0.5595 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.19, allocations: 51.5 kB / 0.5596 GB, free: 15.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.945e-06/0.19, allocations: 3.938 kB / 0.5596 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.007309/0.1973, allocations: 3.151 MB / 0.5626 GB, free: 12.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.1973, allocations: 90.05 kB / 0.5627 GB, free: 12.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.1978, allocations: 381.5 kB / 0.5631 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.1979, allocations: 41.7 kB / 0.5631 GB, free: 12.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.1982, allocations: 324.9 kB / 0.5634 GB, free: 11.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/0.1986, allocations: 341.1 kB / 0.5638 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.1988, allocations: 158.6 kB / 0.5639 GB, free: 11.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.199, allocations: 366.8 kB / 0.5643 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.1998, allocations: 469.7 kB / 0.5647 GB, free: 10.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008836/0.2007, allocations: 0.5704 MB / 0.5653 GB, free: 9.953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.2025, allocations: 1.118 MB / 0.5664 GB, free: 8.805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2025, allocations: 3.938 kB / 0.5664 GB, free: 8.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002828/0.2053, allocations: 1.477 MB / 0.5678 GB, free: 7.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.2053, allocations: 4 kB / 0.5678 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.2053, allocations: 4 kB / 0.5678 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.2064, allocations: 333.8 kB / 0.5681 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007712/0.2072, allocations: 183.7 kB / 0.5683 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/0.2132, allocations: 4.179 MB / 0.5724 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.2138, allocations: 43.95 kB / 0.5724 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.2139, allocations: 39.92 kB / 0.5725 GB, free: 2.371 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.0004959/0.2144, allocations: 313.5 kB / 0.5728 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.2145, allocations: 59.62 kB / 0.5728 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.2174, allocations: 1.532 MB / 0.5743 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.2174, allocations: 11.94 kB / 0.5743 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.2174, allocations: 12 kB / 0.5743 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.2174, allocations: 7.969 kB / 0.5743 GB, free: 428 kB / 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.005678/0.2231, allocations: 3 MB / 0.5773 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.2231, allocations: 0 / 0.5773 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/0.2238, allocations: 167.8 kB / 0.5774 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008222/0.2246, allocations: 284.7 kB / 0.5777 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-05/0.2247, allocations: 23.98 kB / 0.5777 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005605/0.2303, allocations: 3.895 MB / 0.5815 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2303, allocations: 11.94 kB / 0.5815 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.233, allocations: 1.567 MB / 0.5831 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.2333, allocations: 152.6 kB / 0.5832 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2334, allocations: 20 kB / 0.5832 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.2338, allocations: 39.95 kB / 0.5833 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.234, allocations: 84.78 kB / 0.5834 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/0.2341, allocations: 39.98 kB / 0.5834 GB, free: 6.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003295/0.2344, allocations: 267.1 kB / 0.5837 GB, free: 6.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2344, allocations: 0 / 0.5837 GB, free: 6.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001002/0.2354, allocations: 315.9 kB / 0.584 GB, free: 6.211 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.003075/0.2385, allocations: 2.133 MB / 0.586 GB, free: 4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.2408, allocations: 1.332 MB / 0.5873 GB, free: 2.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2408, allocations: 4.062 kB / 0.5873 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.2422, allocations: 0.7929 MB / 0.5881 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.2429, allocations: 109.2 kB / 0.5882 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.2549, allocations: 7.631 MB / 0.5957 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008694/0.2558, allocations: 1.087 MB / 0.5967 GB, free: 8.754 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004834/0.2563, allocations: 184.6 kB / 0.5969 GB, free: 8.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.2567, allocations: 275.3 kB / 0.5972 GB, free: 8.305 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2567, allocations: 0 / 0.5972 GB, free: 8.305 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/0.5657, allocations: 17.05 MB / 0.6138 GB, free: 73.28 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.59, allocations: 9.891 kB / 0.6138 GB, free: 73.28 MB / 462.1 MB " [Timeout remaining time 648] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.727136491797864]