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.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.001291/0.001291, allocations: 121 kB / 18.5 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.001424/0.001424, allocations: 213.5 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.576/1.576, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2048/0.2048, allocations: 38.51 MB / 349.4 MB, free: 2.621 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.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.001956/0.001956, allocations: 67.91 kB / 487.8 MB, free: 22.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1385, allocations: 62.42 MB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01076/0.1493, allocations: 7.795 MB / 0.545 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007474/0.1568, allocations: 4.806 MB / 0.5497 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.1573, allocations: 19.88 kB / 0.5497 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.1602, allocations: 1.105 MB / 0.5508 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003243/0.1634, allocations: 1.273 MB / 0.552 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1646, allocations: 370.9 kB / 0.5524 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.1666, allocations: 1.457 MB / 0.5538 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008518/0.1674, allocations: 0.5251 MB / 0.5543 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1686, allocations: 0.6575 MB / 0.5549 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1697, allocations: 0.7748 MB / 0.5557 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1698, allocations: 68 kB / 0.5557 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.1725, allocations: 1.477 MB / 0.5572 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005967/0.1731, allocations: 0.4987 MB / 0.5577 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.1737, allocations: 453.9 kB / 0.5581 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.1762, allocations: 1.546 MB / 0.5596 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1762, allocations: 0 / 0.5596 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1762, allocations: 0 / 0.5596 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.1763, allocations: 3.984 kB / 0.5596 GB, free: 0.8047 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.002057/0.1783, allocations: 1.192 MB / 0.5608 GB, free: 15.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1784, allocations: 15.97 kB / 0.5608 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.879e-05/0.1784, allocations: 22.19 kB / 0.5608 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.1786, allocations: 135.4 kB / 0.561 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/0.1822, allocations: 411.8 kB / 0.5613 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008654/0.183, allocations: 0.4956 MB / 0.5618 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.1831, allocations: 62.3 kB / 0.5619 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.1832, allocations: 76.31 kB / 0.562 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.1853, allocations: 1.23 MB / 0.5632 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1854, allocations: 0 / 0.5632 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.1854, allocations: 35.92 kB / 0.5632 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/0.1856, allocations: 85.94 kB / 0.5633 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.1877, allocations: 1.304 MB / 0.5646 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006411/0.1941, allocations: 3.685 MB / 0.5682 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.1961, allocations: 1.021 MB / 0.5692 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009765/0.1971, allocations: 0.5786 MB / 0.5697 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.769e-05/0.1971, allocations: 13.14 kB / 0.5697 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.1972, allocations: 47.5 kB / 0.5698 GB, free: 6.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.915e-06/0.1972, allocations: 0 / 0.5698 GB, free: 6.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.007664/0.2049, allocations: 3.147 MB / 0.5728 GB, free: 2.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.2049, allocations: 86.11 kB / 0.5729 GB, free: 2.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.2054, allocations: 385.5 kB / 0.5733 GB, free: 2.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.2055, allocations: 45.69 kB / 0.5733 GB, free: 2.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.2058, allocations: 332.8 kB / 0.5737 GB, free: 2.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.2061, allocations: 329.1 kB / 0.574 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.2064, allocations: 170.6 kB / 0.5741 GB, free: 1.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.2066, allocations: 366.8 kB / 0.5745 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007795/0.2073, allocations: 465.7 kB / 0.5749 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.2082, allocations: 0.5743 MB / 0.5755 GB, free: 176 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.21, allocations: 1.11 MB / 0.5766 GB, free: 15.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.21, allocations: 4 kB / 0.5766 GB, free: 15.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002926/0.213, allocations: 1.481 MB / 0.578 GB, free: 13.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.213, allocations: 4 kB / 0.578 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.213, allocations: 4 kB / 0.578 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.214, allocations: 334.9 kB / 0.5784 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.2148, allocations: 187.7 kB / 0.5785 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.2212, allocations: 4.17 MB / 0.5826 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/0.2218, allocations: 47.89 kB / 0.5826 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.2219, allocations: 35.98 kB / 0.5827 GB, free: 8.598 MB / 446.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.000493/0.2224, allocations: 309.4 kB / 0.583 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.2225, allocations: 59.69 kB / 0.583 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.2255, allocations: 1.536 MB / 0.5845 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2256, allocations: 12 kB / 0.5845 GB, free: 6.668 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/0.2256, allocations: 11.88 kB / 0.5846 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.2256, allocations: 11.95 kB / 0.5846 GB, free: 6.645 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.005427/0.231, allocations: 3.004 MB / 0.5875 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.231, allocations: 4 kB / 0.5875 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.2317, allocations: 164.2 kB / 0.5877 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.2326, allocations: 292.5 kB / 0.5879 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.2327, allocations: 24 kB / 0.588 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2666/0.4992, allocations: 3.889 MB / 0.5918 GB, free: 49.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/0.4992, allocations: 8.922 kB / 0.5918 GB, free: 49.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.5023, allocations: 1.571 MB / 0.5933 GB, free: 49.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.5025, allocations: 148.3 kB / 0.5934 GB, free: 49.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.88e-05/0.5026, allocations: 24.08 kB / 0.5935 GB, free: 49.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.5031, allocations: 44.97 kB / 0.5935 GB, free: 49.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.5033, allocations: 79.64 kB / 0.5936 GB, free: 49.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.5034, allocations: 36.25 kB / 0.5936 GB, free: 49.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003469/0.5037, allocations: 266.6 kB / 0.5939 GB, free: 49.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5037, allocations: 0 / 0.5939 GB, free: 49.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001468/0.5052, allocations: 308.1 kB / 0.5942 GB, free: 49.04 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.002825/0.508, allocations: 2.135 MB / 0.5963 GB, free: 48.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.5105, allocations: 1.329 MB / 0.5976 GB, free: 47.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5105, allocations: 0.8125 kB / 0.5976 GB, free: 47.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.5119, allocations: 0.7954 MB / 0.5983 GB, free: 47.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5129, allocations: 104.8 kB / 0.5984 GB, free: 47.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.5253, allocations: 7.635 MB / 0.6059 GB, free: 43.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.5262, allocations: 1.081 MB / 0.6069 GB, free: 42.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.5267, allocations: 187.4 kB / 0.6071 GB, free: 42.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.5271, allocations: 272.1 kB / 0.6074 GB, free: 42.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/0.5271, allocations: 0 / 0.6074 GB, free: 42.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0455/0.5726, allocations: 17.1 MB / 0.6241 GB, free: 33.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.89, allocations: 10.16 kB / 0.6241 GB, free: 33.04 MB / 446.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/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkOpened.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.335919824021403]