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.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.001663/0.001663, allocations: 123.2 kB / 17.79 MB, free: 5.152 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.001917/0.001917, allocations: 190.9 kB / 20.73 MB, free: 2.219 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.627/1.627, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.2297/0.2297, allocations: 38.51 MB / 342.5 MB, free: 8.184 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.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: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 67.72 kB / 478.6 MB, free: 33.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1537, allocations: 61.24 MB / 0.5272 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009866/0.1636, allocations: 7.508 MB / 0.5345 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007852/0.1715, allocations: 4.424 MB / 0.5389 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.1723, allocations: 12 kB / 0.5389 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003334/0.1756, allocations: 1.05 MB / 0.5399 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.1799, allocations: 1.211 MB / 0.5411 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.1812, allocations: 323.1 kB / 0.5414 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.1838, allocations: 1.402 MB / 0.5428 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1852, allocations: 0.5246 MB / 0.5433 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.1869, allocations: 0.6264 MB / 0.5439 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.1883, allocations: 0.7437 MB / 0.5446 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.1886, allocations: 60 kB / 0.5447 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.1915, allocations: 1.376 MB / 0.546 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007492/0.1923, allocations: 490.7 kB / 0.5465 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009761/0.1933, allocations: 437.9 kB / 0.5469 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00369/0.1969, allocations: 1.464 MB / 0.5483 GB, free: 11.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.197, allocations: 0 / 0.5483 GB, free: 11.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.197, allocations: 0 / 0.5483 GB, free: 11.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.806e-05/0.197, allocations: 0 / 0.5483 GB, free: 11.72 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.002567/0.1996, allocations: 1.157 MB / 0.5495 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.1996, allocations: 15.89 kB / 0.5495 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/0.1999, allocations: 127.2 kB / 0.5496 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.2033, allocations: 387.9 kB / 0.55 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.2045, allocations: 490.9 kB / 0.5504 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.2045, allocations: 54.38 kB / 0.5505 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.2048, allocations: 76.31 kB / 0.5506 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.2071, allocations: 1.18 MB / 0.5517 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.2071, allocations: 0 / 0.5517 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.2072, allocations: 31.98 kB / 0.5517 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.2073, allocations: 73.95 kB / 0.5518 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.2098, allocations: 1.241 MB / 0.553 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007571/0.2173, allocations: 3.496 MB / 0.5564 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.2193, allocations: 0.9913 MB / 0.5574 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.2203, allocations: 0.5979 MB / 0.558 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.893e-05/0.2204, allocations: 12.98 kB / 0.558 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.2205, allocations: 43.56 kB / 0.558 GB, free: 1.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.497e-06/0.2205, allocations: 0 / 0.558 GB, free: 1.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.008184/0.2287, allocations: 3.096 MB / 0.5611 GB, free: 14.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.2288, allocations: 90.23 kB / 0.5612 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.2293, allocations: 361.6 kB / 0.5615 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.2295, allocations: 41.7 kB / 0.5615 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.2298, allocations: 324.9 kB / 0.5618 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.2304, allocations: 329.2 kB / 0.5622 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.2308, allocations: 154.6 kB / 0.5623 GB, free: 13.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.231, allocations: 366.8 kB / 0.5627 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.2319, allocations: 469.7 kB / 0.5631 GB, free: 12.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009544/0.2329, allocations: 0.5773 MB / 0.5637 GB, free: 11.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.2348, allocations: 1.113 MB / 0.5648 GB, free: 10.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.2348, allocations: 0 / 0.5648 GB, free: 10.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003175/0.238, allocations: 1.466 MB / 0.5662 GB, free: 9.023 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.238, allocations: 8 kB / 0.5662 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.238, allocations: 7.984 kB / 0.5662 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.239, allocations: 330.2 kB / 0.5665 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.2399, allocations: 183.7 kB / 0.5667 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.2467, allocations: 4.191 MB / 0.5708 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.2474, allocations: 43.95 kB / 0.5708 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.2476, allocations: 39.98 kB / 0.5709 GB, free: 4.062 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.0006115/0.2482, allocations: 293.5 kB / 0.5711 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.2484, allocations: 59.62 kB / 0.5712 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/0.2515, allocations: 1.555 MB / 0.5727 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.2515, allocations: 8 kB / 0.5727 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.2515, allocations: 8 kB / 0.5727 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.2515, allocations: 7.969 kB / 0.5727 GB, free: 2.113 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.00676/0.2583, allocations: 3.015 MB / 0.5757 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.2583, allocations: 4 kB / 0.5757 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.2591, allocations: 164.1 kB / 0.5759 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009049/0.26, allocations: 288.5 kB / 0.5761 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.2601, allocations: 31.98 kB / 0.5762 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.2664, allocations: 3.911 MB / 0.58 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.2664, allocations: 12 kB / 0.58 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.2696, allocations: 1.587 MB / 0.5815 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.2699, allocations: 144.7 kB / 0.5817 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.2701, allocations: 23.94 kB / 0.5817 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.2707, allocations: 47.95 kB / 0.5817 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.2709, allocations: 76.83 kB / 0.5818 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.271, allocations: 43.92 kB / 0.5819 GB, free: 8.418 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.2714, allocations: 259.2 kB / 0.5821 GB, free: 8.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2714, allocations: 3.938 kB / 0.5821 GB, free: 8.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00137/0.2728, allocations: 311.9 kB / 0.5824 GB, free: 7.859 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.003704/0.2765, allocations: 2.145 MB / 0.5845 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.2793, allocations: 1.331 MB / 0.5858 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.2793, allocations: 4 kB / 0.5858 GB, free: 4.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.2808, allocations: 0.8086 MB / 0.5866 GB, free: 3.469 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2818, allocations: 107.8 kB / 0.5867 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.2958, allocations: 7.529 MB / 0.5941 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.2972, allocations: 1.072 MB / 0.5951 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006682/0.2978, allocations: 180.6 kB / 0.5953 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.2984, allocations: 263.3 kB / 0.5955 GB, free: 10.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.954e-06/0.2984, allocations: 0 / 0.5955 GB, free: 10.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/0.6241, allocations: 16.88 MB / 0.612 GB, free: 72.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.8, allocations: 6.562 kB / 0.612 GB, free: 72.31 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.182866681367159]