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.001824/0.001824, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.002498/0.002498, allocations: 208.4 kB / 24.52 MB, free: 4.141 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.192/0.192, allocations: 38.52 MB / 353.2 MB, free: 12.6 MB / 286.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.003127/0.003127, allocations: 63.91 kB / 493.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3774, allocations: 62.47 MB / 0.5428 GB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009941/0.3874, allocations: 7.874 MB / 0.5505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0078/0.3952, allocations: 4.84 MB / 0.5552 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008271/0.396, allocations: 21.38 kB / 0.5552 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.3989, allocations: 1.131 MB / 0.5563 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.4023, allocations: 1.27 MB / 0.5575 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4034, allocations: 366.5 kB / 0.5579 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.4062, allocations: 1.462 MB / 0.5593 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.4072, allocations: 0.5232 MB / 0.5598 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.4088, allocations: 0.6536 MB / 0.5605 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.4099, allocations: 0.771 MB / 0.5612 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.41, allocations: 68 kB / 0.5613 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.4131, allocations: 1.485 MB / 0.5627 GB, free: 52 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.4137, allocations: 0.4949 MB / 0.5632 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.4142, allocations: 457.9 kB / 0.5637 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.4168, allocations: 1.542 MB / 0.5652 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4168, allocations: 0 / 0.5652 GB, free: 13.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4168, allocations: 0 / 0.5652 GB, free: 13.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.4169, allocations: 0 / 0.5652 GB, free: 13.56 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.00195/0.4188, allocations: 1.121 MB / 0.5663 GB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4189, allocations: 11.98 kB / 0.5663 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.111e-05/0.4189, allocations: 22.19 kB / 0.5663 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.4191, allocations: 135.4 kB / 0.5664 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/0.4226, allocations: 411.8 kB / 0.5668 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009705/0.4235, allocations: 453.6 kB / 0.5672 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.4236, allocations: 58.34 kB / 0.5673 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4238, allocations: 80.31 kB / 0.5674 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.4259, allocations: 1.226 MB / 0.5686 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.4259, allocations: 4 kB / 0.5686 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/0.426, allocations: 31.98 kB / 0.5686 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.4261, allocations: 81.89 kB / 0.5687 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.4282, allocations: 1.308 MB / 0.57 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006427/0.4347, allocations: 3.61 MB / 0.5735 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.4366, allocations: 1.016 MB / 0.5745 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009179/0.4375, allocations: 0.5746 MB / 0.575 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.4376, allocations: 17.14 kB / 0.5751 GB, free: 3.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4376, allocations: 47.56 kB / 0.5751 GB, free: 3.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 2.946e-06/0.4376, allocations: 0 / 0.5751 GB, free: 3.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.008074/0.4457, allocations: 3.068 MB / 0.5781 GB, free: 68 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.4458, allocations: 94.22 kB / 0.5782 GB, free: 15.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.4464, allocations: 381.5 kB / 0.5786 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.4464, allocations: 37.7 kB / 0.5786 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.4467, allocations: 336.8 kB / 0.5789 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.4471, allocations: 333.1 kB / 0.5792 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.4474, allocations: 158.6 kB / 0.5794 GB, free: 14.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.4476, allocations: 370.8 kB / 0.5797 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.4484, allocations: 465.7 kB / 0.5802 GB, free: 13.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009118/0.4493, allocations: 0.5743 MB / 0.5807 GB, free: 13.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.4511, allocations: 1.122 MB / 0.5818 GB, free: 12.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.4511, allocations: 8 kB / 0.5818 GB, free: 12.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003067/0.4542, allocations: 1.466 MB / 0.5833 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.4542, allocations: 8 kB / 0.5833 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4542, allocations: 3.984 kB / 0.5833 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4554, allocations: 340.8 kB / 0.5836 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.4562, allocations: 179.7 kB / 0.5838 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.4629, allocations: 4.064 MB / 0.5878 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.4636, allocations: 47.89 kB / 0.5878 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.4638, allocations: 39.92 kB / 0.5878 GB, free: 5.832 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.0006947/0.4645, allocations: 308.6 kB / 0.5881 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.4647, allocations: 59.62 kB / 0.5882 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.4679, allocations: 1.54 MB / 0.5897 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.4679, allocations: 12 kB / 0.5897 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.4679, allocations: 4 kB / 0.5897 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.468, allocations: 7.984 kB / 0.5897 GB, free: 3.887 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.00589/0.4738, allocations: 2.968 MB / 0.5926 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4739, allocations: 4.062 kB / 0.5926 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.4745, allocations: 167.8 kB / 0.5928 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008903/0.4754, allocations: 288.5 kB / 0.5931 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.4755, allocations: 20 kB / 0.5931 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/0.4814, allocations: 3.803 MB / 0.5968 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.4815, allocations: 4 kB / 0.5968 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.4847, allocations: 1.571 MB / 0.5983 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.4849, allocations: 79.47 kB / 0.5984 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.485, allocations: 20 kB / 0.5984 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.4856, allocations: 43.91 kB / 0.5985 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.4858, allocations: 80.84 kB / 0.5985 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.4859, allocations: 39.98 kB / 0.5986 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003881/0.4863, allocations: 263.1 kB / 0.5988 GB, free: 10.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4863, allocations: 3.938 kB / 0.5988 GB, free: 10.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001274/0.4876, allocations: 315.9 kB / 0.5991 GB, free: 9.926 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.003441/0.491, allocations: 2.122 MB / 0.6012 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.4936, allocations: 1.322 MB / 0.6025 GB, free: 6.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.4936, allocations: 4.625 kB / 0.6025 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001488/0.4951, allocations: 0.7926 MB / 0.6033 GB, free: 5.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008683/0.496, allocations: 113.8 kB / 0.6034 GB, free: 5.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.5094, allocations: 7.644 MB / 0.6108 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.5106, allocations: 1.079 MB / 0.6119 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.5111, allocations: 192.7 kB / 0.6121 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.5116, allocations: 267.3 kB / 0.6123 GB, free: 12.02 MB / 462.1 MB Notification: Performance of SimCode: time 1.794e-06/0.5116, allocations: 0 / 0.6123 GB, free: 12.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05528/0.5669, allocations: 17.88 MB / 0.6298 GB, free: 10.28 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.33, allocations: 11.66 kB / 0.6298 GB, free: 10.27 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.62729296204634]