Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001342/0.001342, allocations: 121.4 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.001371/0.001371, 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.509/1.509, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.205/0.205, allocations: 38.52 MB / 342.5 MB, free: 8.164 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_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.73 kB / 478.6 MB, free: 33.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1111, allocations: 61.25 MB / 0.5272 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009533/0.1206, allocations: 7.508 MB / 0.5346 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00655/0.1272, allocations: 4.475 MB / 0.5389 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.1276, allocations: 12 kB / 0.5389 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.1305, allocations: 1.053 MB / 0.54 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.1344, allocations: 1.277 MB / 0.5412 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1355, allocations: 351 kB / 0.5416 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.1376, allocations: 1.406 MB / 0.5429 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.1388, allocations: 0.6368 MB / 0.5436 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1401, allocations: 0.6381 MB / 0.5442 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.1415, allocations: 0.81 MB / 0.545 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.1417, allocations: 76 kB / 0.545 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.1453, allocations: 1.594 MB / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009923/0.1463, allocations: 0.6117 MB / 0.5472 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009247/0.1472, allocations: 0.556 MB / 0.5477 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.1508, allocations: 1.896 MB / 0.5496 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1508, allocations: 4 kB / 0.5496 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1508, allocations: 3.938 kB / 0.5496 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.1508, allocations: 0 / 0.5496 GB, free: 10.39 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002416/0.1532, allocations: 1.355 MB / 0.5509 GB, free: 8.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.1533, allocations: 11.89 kB / 0.5509 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.1535, allocations: 164.8 kB / 0.5511 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/0.1576, allocations: 0.5503 MB / 0.5516 GB, free: 8.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.1591, allocations: 0.564 MB / 0.5522 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.1592, allocations: 62.31 kB / 0.5522 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/0.1594, allocations: 96.31 kB / 0.5523 GB, free: 7.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.1622, allocations: 1.512 MB / 0.5538 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1623, allocations: 0 / 0.5538 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1624, allocations: 35.98 kB / 0.5538 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.1625, allocations: 98 kB / 0.5539 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.1653, allocations: 1.55 MB / 0.5554 GB, free: 4.242 MB / 414.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 preOpt removeSimpleEquations (simulation): time 0.009651/0.175, allocations: 4.893 MB / 0.5602 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.1769, allocations: 1.094 MB / 0.5613 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.1781, allocations: 0.6879 MB / 0.562 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.1782, allocations: 21.06 kB / 0.562 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.1782, allocations: 47.56 kB / 0.562 GB, free: 13.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 5.2e-06/0.1782, allocations: 0 / 0.562 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.009277/0.1875, allocations: 3.687 MB / 0.5656 GB, free: 9.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.1876, allocations: 86.11 kB / 0.5657 GB, free: 9.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.1883, allocations: 469.8 kB / 0.5662 GB, free: 8.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.1885, allocations: 45.7 kB / 0.5662 GB, free: 8.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.1889, allocations: 436.7 kB / 0.5666 GB, free: 8.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005649/0.1895, allocations: 388.6 kB / 0.567 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004597/0.19, allocations: 198.9 kB / 0.5672 GB, free: 7.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.1902, allocations: 386.8 kB / 0.5675 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009689/0.1911, allocations: 0.5335 MB / 0.5681 GB, free: 6.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.1925, allocations: 0.7617 MB / 0.5688 GB, free: 6.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/0.1949, allocations: 1.404 MB / 0.5702 GB, free: 4.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.1949, allocations: 4 kB / 0.5702 GB, free: 4.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004003/0.1989, allocations: 1.783 MB / 0.5719 GB, free: 2.836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.1989, allocations: 16.08 kB / 0.5719 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.1989, allocations: 8 kB / 0.572 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.2002, allocations: 410.3 kB / 0.5723 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2013, allocations: 231.6 kB / 0.5726 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008863/0.2102, allocations: 6.066 MB / 0.5785 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/0.2111, allocations: 67.92 kB / 0.5786 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002562/0.2114, allocations: 43.98 kB / 0.5786 GB, free: 11.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000858/0.2122, allocations: 365.4 kB / 0.5789 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.2125, allocations: 75.53 kB / 0.579 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/0.2165, allocations: 1.795 MB / 0.5808 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.2165, allocations: 15.98 kB / 0.5808 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/0.2165, allocations: 11.94 kB / 0.5808 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.2165, allocations: 7.969 kB / 0.5808 GB, free: 9.418 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.008309/0.2249, allocations: 3.453 MB / 0.5842 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.2249, allocations: 8 kB / 0.5842 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.2258, allocations: 188.2 kB / 0.5844 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.2269, allocations: 361.3 kB / 0.5847 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.2271, allocations: 27.94 kB / 0.5847 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008439/0.2356, allocations: 5.778 MB / 0.5904 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.2356, allocations: 4 kB / 0.5904 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.2396, allocations: 1.825 MB / 0.5922 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.2399, allocations: 160.6 kB / 0.5923 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.2402, allocations: 28 kB / 0.5923 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007313/0.2409, allocations: 55.89 kB / 0.5924 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.2412, allocations: 88.81 kB / 0.5925 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.2414, allocations: 39.98 kB / 0.5925 GB, free: 12.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005227/0.2419, allocations: 323.1 kB / 0.5928 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2419, allocations: 4 kB / 0.5928 GB, free: 12.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001793/0.2437, allocations: 403.9 kB / 0.5932 GB, free: 12.18 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.004051/0.2478, allocations: 2.376 MB / 0.5955 GB, free: 9.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.2514, allocations: 1.681 MB / 0.5972 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/0.2514, allocations: 4 kB / 0.5972 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.2536, allocations: 1.019 MB / 0.5982 GB, free: 6.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.255, allocations: 139.9 kB / 0.5983 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2968/0.5518, allocations: 9.117 MB / 0.6072 GB, free: 70.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.5531, allocations: 1.171 MB / 0.6084 GB, free: 70.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008878/0.554, allocations: 236.8 kB / 0.6086 GB, free: 70.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/0.5546, allocations: 340.1 kB / 0.6089 GB, free: 70.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.703e-06/0.5546, allocations: 1.031 kB / 0.6089 GB, free: 70.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.6117, allocations: 20.93 MB / 0.6293 GB, free: 62.45 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.97, allocations: 13.34 kB / 0.6294 GB, free: 62.44 MB / 462.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.114670621231198]