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.001857/0.001857, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00216/0.00216, allocations: 214 kB / 24.52 MB, free: 3.914 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.1848/0.1848, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.002138/0.002138, allocations: 59.91 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 62.47 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01429/0.4113, allocations: 7.255 MB / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.4233, allocations: 4.421 MB / 0.5541 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.4242, allocations: 22.25 kB / 0.5541 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004145/0.4283, allocations: 1.069 MB / 0.5552 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.4321, allocations: 1.276 MB / 0.5564 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4332, allocations: 375.4 kB / 0.5568 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002127/0.4353, allocations: 1.46 MB / 0.5582 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000927/0.4363, allocations: 0.5172 MB / 0.5587 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.4376, allocations: 0.6653 MB / 0.5594 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4389, allocations: 0.7671 MB / 0.5601 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.4391, allocations: 67.94 kB / 0.5602 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.4415, allocations: 1.223 MB / 0.5614 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006363/0.4422, allocations: 0.4948 MB / 0.5618 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000762/0.4429, allocations: 394.2 kB / 0.5622 GB, free: 232 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.4463, allocations: 1.55 MB / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4463, allocations: 0 / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4463, allocations: 0 / 0.5637 GB, free: 14.67 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.734e-05/0.4464, allocations: 0 / 0.5637 GB, free: 14.67 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.002237/0.4486, allocations: 1.105 MB / 0.5648 GB, free: 13.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.4487, allocations: 15.98 kB / 0.5648 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.537e-05/0.4487, allocations: 22.19 kB / 0.5649 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002693/0.449, allocations: 135.4 kB / 0.565 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005025/0.454, allocations: 419.8 kB / 0.5654 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.455, allocations: 453.5 kB / 0.5658 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.4551, allocations: 58.36 kB / 0.5659 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.4553, allocations: 72.36 kB / 0.5659 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.4575, allocations: 1.226 MB / 0.5671 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.4575, allocations: 7.938 kB / 0.5671 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.249e-05/0.4576, allocations: 31.98 kB / 0.5672 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.4577, allocations: 73.95 kB / 0.5672 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.4601, allocations: 1.312 MB / 0.5685 GB, free: 9.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.4666, allocations: 3.403 MB / 0.5718 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.4685, allocations: 1.013 MB / 0.5728 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000963/0.4695, allocations: 0.5707 MB / 0.5734 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/0.4696, allocations: 20.98 kB / 0.5734 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.4696, allocations: 47.5 kB / 0.5735 GB, free: 4.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.437e-06/0.4696, allocations: 0 / 0.5735 GB, free: 4.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007687/0.4773, allocations: 3.06 MB / 0.5764 GB, free: 1.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.4774, allocations: 90.05 kB / 0.5765 GB, free: 1.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.4779, allocations: 381.5 kB / 0.5769 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.4779, allocations: 41.7 kB / 0.5769 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.4782, allocations: 341 kB / 0.5773 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.4785, allocations: 333.1 kB / 0.5776 GB, free: 216 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.4789, allocations: 162.6 kB / 0.5777 GB, free: 48 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.4792, allocations: 366.8 kB / 0.5781 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008216/0.48, allocations: 469.7 kB / 0.5785 GB, free: 15.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.4809, allocations: 0.5743 MB / 0.5791 GB, free: 14.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.4826, allocations: 1.118 MB / 0.5802 GB, free: 13.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4826, allocations: 3.938 kB / 0.5802 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002874/0.4855, allocations: 1.47 MB / 0.5816 GB, free: 11.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.4855, allocations: 8 kB / 0.5816 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4856, allocations: 224 / 0.5816 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.4867, allocations: 336.6 kB / 0.582 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.4875, allocations: 187.7 kB / 0.5821 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006584/0.4941, allocations: 3.907 MB / 0.5859 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/0.4947, allocations: 55.83 kB / 0.586 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.4948, allocations: 31.98 kB / 0.586 GB, free: 7.355 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.0006232/0.4955, allocations: 309.5 kB / 0.5863 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.4956, allocations: 59.62 kB / 0.5864 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.4988, allocations: 1.54 MB / 0.5879 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.4988, allocations: 11.94 kB / 0.5879 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4988, allocations: 8 kB / 0.5879 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.4988, allocations: 7.969 kB / 0.5879 GB, free: 5.402 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.005839/0.5046, allocations: 2.758 MB / 0.5906 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.5046, allocations: 0 / 0.5906 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.5053, allocations: 171.8 kB / 0.5908 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008811/0.5062, allocations: 277 kB / 0.591 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/0.5063, allocations: 27.98 kB / 0.5911 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/0.5122, allocations: 3.691 MB / 0.5947 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.5122, allocations: 7.938 kB / 0.5947 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.5152, allocations: 1.567 MB / 0.5962 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.5154, allocations: 67.55 kB / 0.5963 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.5156, allocations: 31.98 kB / 0.5963 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.5161, allocations: 39.91 kB / 0.5963 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.5163, allocations: 80.78 kB / 0.5964 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/0.5164, allocations: 47.92 kB / 0.5965 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.5167, allocations: 263.2 kB / 0.5967 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5167, allocations: 0 / 0.5967 GB, free: 12.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00111/0.5178, allocations: 311.9 kB / 0.597 GB, free: 11.81 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.003154/0.521, allocations: 2.126 MB / 0.5991 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.5235, allocations: 1.334 MB / 0.6004 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.5235, allocations: 0 / 0.6004 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.5249, allocations: 0.7927 MB / 0.6012 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.5258, allocations: 107.1 kB / 0.6013 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.5387, allocations: 7.64 MB / 0.6087 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/0.5395, allocations: 493.1 kB / 0.6092 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005016/0.54, allocations: 192.6 kB / 0.6094 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.5405, allocations: 267.3 kB / 0.6096 GB, free: 14.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5405, allocations: 0 / 0.6096 GB, free: 14.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05199/0.5925, allocations: 18 MB / 0.6272 GB, free: 12.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.72, allocations: 14 kB / 0.6272 GB, free: 12.67 MB / 478.1 MB " [Timeout remaining time 646] (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.97391513409093]