Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001857/0.001857, 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.002058/0.002058, 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.526/1.526, allocations: 225.6 MB / 249.1 MB, free: 3.629 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.1909/0.1909, allocations: 38.52 MB / 342.5 MB, free: 8.168 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_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 66.08 kB / 478.6 MB, free: 33.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1296, allocations: 61.25 MB / 0.5272 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009671/0.1392, allocations: 7.503 MB / 0.5346 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.1458, allocations: 4.416 MB / 0.5389 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005254/0.1464, allocations: 19.94 kB / 0.5389 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.1492, allocations: 1.05 MB / 0.5399 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.153, allocations: 1.211 MB / 0.5411 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1543, allocations: 319.1 kB / 0.5414 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.1566, allocations: 1.41 MB / 0.5428 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.1577, allocations: 0.5245 MB / 0.5433 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.1591, allocations: 0.6225 MB / 0.5439 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.1602, allocations: 0.7359 MB / 0.5446 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.1603, allocations: 64 kB / 0.5447 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.1631, allocations: 1.387 MB / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006544/0.1637, allocations: 482.8 kB / 0.5465 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.1643, allocations: 445.9 kB / 0.5469 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.1675, allocations: 1.456 MB / 0.5483 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1675, allocations: 4 kB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1675, allocations: 0 / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1675, allocations: 0 / 0.5484 GB, free: 11.7 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.002106/0.1696, allocations: 1.153 MB / 0.5495 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1697, allocations: 15.88 kB / 0.5495 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.1698, allocations: 127.2 kB / 0.5496 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.173, allocations: 391.9 kB / 0.55 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.174, allocations: 490.9 kB / 0.5505 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.174, allocations: 54.36 kB / 0.5505 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.1742, allocations: 84.25 kB / 0.5506 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.1761, allocations: 1.18 MB / 0.5517 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1762, allocations: 0 / 0.5517 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1763, allocations: 31.98 kB / 0.5518 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.1764, allocations: 73.95 kB / 0.5518 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.1783, allocations: 1.241 MB / 0.5531 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.1843, allocations: 3.5 MB / 0.5565 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.186, allocations: 0.9832 MB / 0.5574 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009042/0.1869, allocations: 0.5905 MB / 0.558 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.1869, allocations: 20.97 kB / 0.558 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.187, allocations: 51.5 kB / 0.5581 GB, free: 1.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.444e-06/0.187, allocations: 0 / 0.5581 GB, free: 1.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007022/0.194, allocations: 3.081 MB / 0.5611 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.1941, allocations: 102.2 kB / 0.5612 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.1946, allocations: 361.6 kB / 0.5615 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.1946, allocations: 37.7 kB / 0.5616 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.1949, allocations: 320.9 kB / 0.5619 GB, free: 13.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.1953, allocations: 329.2 kB / 0.5622 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002962/0.1955, allocations: 166.5 kB / 0.5623 GB, free: 13.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.1958, allocations: 366.8 kB / 0.5627 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.1965, allocations: 473.7 kB / 0.5631 GB, free: 12.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008351/0.1974, allocations: 0.5657 MB / 0.5637 GB, free: 11.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.199, allocations: 1.109 MB / 0.5648 GB, free: 10.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.199, allocations: 0 / 0.5648 GB, free: 10.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002773/0.2018, allocations: 1.47 MB / 0.5662 GB, free: 9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.2018, allocations: 10.66 kB / 0.5662 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2018, allocations: 0 / 0.5662 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009867/0.2028, allocations: 338.2 kB / 0.5665 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.2036, allocations: 183.7 kB / 0.5667 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.2096, allocations: 4.182 MB / 0.5708 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005356/0.2101, allocations: 43.95 kB / 0.5708 GB, free: 4.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/0.2102, allocations: 35.98 kB / 0.5709 GB, free: 4.051 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.0004648/0.2107, allocations: 297.5 kB / 0.5712 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2108, allocations: 59.62 kB / 0.5712 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/0.2137, allocations: 1.551 MB / 0.5727 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.2137, allocations: 15.98 kB / 0.5728 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.2137, allocations: 8 kB / 0.5728 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2137, allocations: 3.984 kB / 0.5728 GB, free: 2.098 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.005654/0.2194, allocations: 3.027 MB / 0.5757 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2194, allocations: 0 / 0.5757 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.2201, allocations: 172.1 kB / 0.5759 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/0.2209, allocations: 288.5 kB / 0.5762 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-05/0.221, allocations: 31.98 kB / 0.5762 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/0.2265, allocations: 3.902 MB / 0.58 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.2265, allocations: 8.062 kB / 0.58 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.2294, allocations: 1.59 MB / 0.5816 GB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002613/0.2297, allocations: 148.7 kB / 0.5817 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/0.2298, allocations: 27.94 kB / 0.5817 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.2302, allocations: 39.95 kB / 0.5818 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.2303, allocations: 72.84 kB / 0.5818 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.2304, allocations: 43.92 kB / 0.5819 GB, free: 8.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000318/0.2307, allocations: 267.1 kB / 0.5821 GB, free: 8.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2307, allocations: 0 / 0.5821 GB, free: 8.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009961/0.2317, allocations: 308 kB / 0.5824 GB, free: 7.836 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.002967/0.2347, allocations: 2.137 MB / 0.5845 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.2373, allocations: 1.342 MB / 0.5858 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.2373, allocations: 0 / 0.5858 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.2386, allocations: 0.8047 MB / 0.5866 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.2394, allocations: 105.1 kB / 0.5867 GB, free: 3.352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.2515, allocations: 7.532 MB / 0.5941 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009842/0.2524, allocations: 1.068 MB / 0.5951 GB, free: 10.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.2529, allocations: 188.6 kB / 0.5953 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.2534, allocations: 267.2 kB / 0.5955 GB, free: 10.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.2534, allocations: 0 / 0.5955 GB, free: 10.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/0.5486, allocations: 16.88 MB / 0.612 GB, free: 72.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.38, allocations: 10.11 kB / 0.612 GB, free: 72.32 MB / 462.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.62919906899333]