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.001937/0.001937, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001913/0.001913, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1893/0.1893, allocations: 38.56 MB / 352.5 MB, free: 12.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",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.00213/0.00213, allocations: 59.91 kB / 492.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 62.47 MB / 0.5419 GB, free: 216 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00927/0.3814, allocations: 7.264 MB / 0.549 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007015/0.3884, allocations: 4.433 MB / 0.5534 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.3889, allocations: 21.09 kB / 0.5534 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.3917, allocations: 1.071 MB / 0.5544 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00313/0.3949, allocations: 1.276 MB / 0.5557 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3959, allocations: 366.3 kB / 0.556 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.3982, allocations: 1.458 MB / 0.5574 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.399, allocations: 0.5172 MB / 0.558 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.4003, allocations: 0.6615 MB / 0.5586 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.4014, allocations: 0.7397 MB / 0.5593 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4015, allocations: 64 kB / 0.5594 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.4042, allocations: 1.208 MB / 0.5606 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.4048, allocations: 0.4948 MB / 0.561 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.4052, allocations: 390.3 kB / 0.5614 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.4078, allocations: 1.55 MB / 0.5629 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4078, allocations: 0 / 0.5629 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4078, allocations: 3.938 kB / 0.5629 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4078, allocations: 0 / 0.5629 GB, free: 14.66 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.001883/0.4097, allocations: 1.105 MB / 0.564 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4098, allocations: 15.97 kB / 0.564 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.4099, allocations: 135.4 kB / 0.5642 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.4132, allocations: 419.8 kB / 0.5646 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4145, allocations: 449.6 kB / 0.565 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.4146, allocations: 62.36 kB / 0.565 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4147, allocations: 72.36 kB / 0.5651 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.4169, allocations: 1.23 MB / 0.5663 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.417, allocations: 8 kB / 0.5663 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.4171, allocations: 31.98 kB / 0.5664 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/0.4172, allocations: 77.94 kB / 0.5664 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.4194, allocations: 1.3 MB / 0.5677 GB, free: 9.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006556/0.4259, allocations: 3.407 MB / 0.571 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.428, allocations: 1.018 MB / 0.572 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.4289, allocations: 0.5668 MB / 0.5726 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/0.429, allocations: 16.98 kB / 0.5726 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.429, allocations: 43.56 kB / 0.5726 GB, free: 4.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.717e-06/0.429, allocations: 0 / 0.5726 GB, free: 4.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007335/0.4363, allocations: 3.06 MB / 0.5756 GB, free: 1.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.4364, allocations: 86.11 kB / 0.5757 GB, free: 1.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.4369, allocations: 393.4 kB / 0.5761 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.4369, allocations: 37.7 kB / 0.5761 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.4372, allocations: 337.1 kB / 0.5764 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.4376, allocations: 337 kB / 0.5768 GB, free: 228 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.4378, allocations: 154.6 kB / 0.5769 GB, free: 68 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.438, allocations: 374.8 kB / 0.5773 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.4388, allocations: 465.8 kB / 0.5777 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008473/0.4396, allocations: 0.5782 MB / 0.5783 GB, free: 14.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.4413, allocations: 1.114 MB / 0.5794 GB, free: 13.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4413, allocations: 0 / 0.5794 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002672/0.444, allocations: 1.47 MB / 0.5808 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.444, allocations: 11.94 kB / 0.5808 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4441, allocations: 4 kB / 0.5808 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.4451, allocations: 340.7 kB / 0.5811 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.4458, allocations: 179.7 kB / 0.5813 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.4519, allocations: 3.911 MB / 0.5851 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.4525, allocations: 47.95 kB / 0.5852 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.4526, allocations: 43.97 kB / 0.5852 GB, free: 7.363 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.0005261/0.4532, allocations: 297.6 kB / 0.5855 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.4533, allocations: 59.62 kB / 0.5856 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/0.4562, allocations: 1.536 MB / 0.5871 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.4562, allocations: 12 kB / 0.5871 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.4562, allocations: 11.98 kB / 0.5871 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.4562, allocations: 7.984 kB / 0.5871 GB, free: 5.422 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.005295/0.4615, allocations: 2.762 MB / 0.5898 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.4615, allocations: 7.938 kB / 0.5898 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.4621, allocations: 163.8 kB / 0.5899 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.463, allocations: 280.9 kB / 0.5902 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.4631, allocations: 23.98 kB / 0.5902 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00542/0.4685, allocations: 3.695 MB / 0.5938 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.4685, allocations: 7.938 kB / 0.5939 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.4712, allocations: 1.567 MB / 0.5954 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.4714, allocations: 71.55 kB / 0.5955 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.4715, allocations: 20 kB / 0.5955 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.472, allocations: 43.97 kB / 0.5955 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4721, allocations: 84.72 kB / 0.5956 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.4722, allocations: 39.98 kB / 0.5956 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.4725, allocations: 263.1 kB / 0.5959 GB, free: 12.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4725, allocations: 0 / 0.5959 GB, free: 12.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009521/0.4735, allocations: 312 kB / 0.5962 GB, free: 11.83 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.002968/0.4764, allocations: 2.137 MB / 0.5983 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.4788, allocations: 1.323 MB / 0.5996 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.4788, allocations: 7.938 kB / 0.5996 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.4801, allocations: 0.7968 MB / 0.6003 GB, free: 7.469 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.4809, allocations: 113.3 kB / 0.6005 GB, free: 7.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.493, allocations: 7.629 MB / 0.6079 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.4937, allocations: 489.1 kB / 0.6084 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.4943, allocations: 188.7 kB / 0.6085 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.4947, allocations: 271.3 kB / 0.6088 GB, free: 14.52 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4947, allocations: 0 / 0.6088 GB, free: 14.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.5588, allocations: 18.02 MB / 0.6264 GB, free: 12.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.61, allocations: 0 / 0.6264 GB, free: 12.66 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: 15.718088291119784]