Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 112.8 kB / 17.06 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 198.9 kB / 18 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1839/0.1839, allocations: 38.04 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 457.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3445, allocations: 58.05 MB / 0.5036 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.007185/0.3517, allocations: 7.416 MB / 0.5109 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00527/0.357, allocations: 4.398 MB / 0.5152 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.3574, allocations: 12.5 kB / 0.5152 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.36, allocations: 1.035 MB / 0.5162 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.3631, allocations: 1.199 MB / 0.5173 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3641, allocations: 320.2 kB / 0.5177 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.3661, allocations: 1.4 MB / 0.519 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.3674, allocations: 0.6531 MB / 0.5197 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.3687, allocations: 0.6243 MB / 0.5203 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.37, allocations: 0.6808 MB / 0.5209 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.3702, allocations: 63.44 kB / 0.521 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.373, allocations: 1.324 MB / 0.5223 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000716/0.3738, allocations: 476.9 kB / 0.5227 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.3747, allocations: 446.6 kB / 0.5232 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3775, allocations: 1.457 MB / 0.5246 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3775, allocations: 0 / 0.5246 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3775, allocations: 5.594 kB / 0.5246 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.85e-05/0.3776, allocations: 0.7031 kB / 0.5246 GB, free: 10.84 MB / 398.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.002394/0.38, allocations: 1.119 MB / 0.5257 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.38, allocations: 13.2 kB / 0.5257 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.3802, allocations: 128.4 kB / 0.5258 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/0.3835, allocations: 394.2 kB / 0.5262 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.3844, allocations: 490.3 kB / 0.5267 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.611e-05/0.3845, allocations: 54.86 kB / 0.5267 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.3846, allocations: 74.7 kB / 0.5268 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3866, allocations: 1.178 MB / 0.5279 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3867, allocations: 2.219 kB / 0.5279 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.3868, allocations: 30.91 kB / 0.528 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.3869, allocations: 68.89 kB / 0.528 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3889, allocations: 1.248 MB / 0.5293 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.3946, allocations: 3.489 MB / 0.5327 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.3963, allocations: 1.066 MB / 0.5337 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009369/0.3973, allocations: 0.6561 MB / 0.5343 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.699e-05/0.3973, allocations: 22.94 kB / 0.5344 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3974, allocations: 42.97 kB / 0.5344 GB, free: 5.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.544e-06/0.3974, allocations: 0.9688 kB / 0.5344 GB, free: 5.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006813/0.4042, allocations: 3.096 MB / 0.5374 GB, free: 3.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.4043, allocations: 91.11 kB / 0.5375 GB, free: 3.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.4047, allocations: 358 kB / 0.5379 GB, free: 3.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.4048, allocations: 37.3 kB / 0.5379 GB, free: 3.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.405, allocations: 322.8 kB / 0.5382 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.4054, allocations: 320.3 kB / 0.5385 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.4056, allocations: 159.3 kB / 0.5387 GB, free: 2.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4058, allocations: 362.7 kB / 0.539 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.4065, allocations: 470.7 kB / 0.5395 GB, free: 2.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.4073, allocations: 0.5697 MB / 0.54 GB, free: 1.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.409, allocations: 1.116 MB / 0.5411 GB, free: 1.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.409, allocations: 5.188 kB / 0.5411 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002668/0.4117, allocations: 1.469 MB / 0.5425 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4118, allocations: 4 kB / 0.5425 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4118, allocations: 12.12 kB / 0.5426 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009396/0.4127, allocations: 338.2 kB / 0.5429 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.4135, allocations: 179.7 kB / 0.543 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/0.4188, allocations: 4.18 MB / 0.5471 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.4194, allocations: 52.02 kB / 0.5472 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/0.4195, allocations: 35.98 kB / 0.5472 GB, free: 11.46 MB / 414.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.0004876/0.42, allocations: 289.6 kB / 0.5475 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.4201, allocations: 59.34 kB / 0.5475 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.4228, allocations: 1.571 MB / 0.5491 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.4228, allocations: 8 kB / 0.5491 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4228, allocations: 8 kB / 0.5491 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4228, allocations: 3.984 kB / 0.5491 GB, free: 9.508 MB / 414.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.005032/0.4279, allocations: 3.027 MB / 0.5521 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.4279, allocations: 4 kB / 0.5521 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.4286, allocations: 167.7 kB / 0.5522 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008354/0.4294, allocations: 289 kB / 0.5525 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.4295, allocations: 23.98 kB / 0.5525 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005109/0.4347, allocations: 3.915 MB / 0.5563 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4347, allocations: 4 kB / 0.5563 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.4373, allocations: 1.602 MB / 0.5579 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.4376, allocations: 136.5 kB / 0.558 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4377, allocations: 35.81 kB / 0.5581 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.4382, allocations: 43.91 kB / 0.5581 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.4384, allocations: 84.83 kB / 0.5582 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.4385, allocations: 31.94 kB / 0.5582 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003472/0.4389, allocations: 263.1 kB / 0.5585 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4389, allocations: 0 / 0.5585 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00134/0.4402, allocations: 304 kB / 0.5588 GB, free: 15.25 MB / 430.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.003067/0.4433, allocations: 2.16 MB / 0.5609 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002247/0.4456, allocations: 1.405 MB / 0.5623 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.4456, allocations: 0 / 0.5623 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.4469, allocations: 0.8515 MB / 0.5631 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.4478, allocations: 104.3 kB / 0.5632 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.4591, allocations: 7.526 MB / 0.5705 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/0.4601, allocations: 1.068 MB / 0.5716 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004675/0.4606, allocations: 180.6 kB / 0.5717 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.461, allocations: 263.3 kB / 0.572 GB, free: 1.332 MB / 430.1 MB Notification: Performance of SimCode: time 1.392e-06/0.461, allocations: 4 kB / 0.572 GB, free: 1.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.5035, allocations: 16.81 MB / 0.5884 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.79, allocations: 6.812 kB / 0.5884 GB, free: 0.6367 MB / 446.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches