Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.001312/0.001312, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001442/0.001442, allocations: 210.9 kB / 24.51 MB, free: 3.945 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.498/1.498, allocations: 230.6 MB / 258.3 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.1855/0.1855, allocations: 38.55 MB / 353.2 MB, free: 12.32 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.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq",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.001963/0.001963, allocations: 71.89 kB / 493.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 62.46 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.009274/0.3351, allocations: 7.032 MB / 0.5496 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006541/0.3417, allocations: 4.104 MB / 0.5536 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.3425, allocations: 16.56 kB / 0.5536 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.3453, allocations: 1.022 MB / 0.5546 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003134/0.3484, allocations: 1.211 MB / 0.5558 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009488/0.3494, allocations: 326.2 kB / 0.5561 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.3514, allocations: 1.398 MB / 0.5575 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.3525, allocations: 0.5246 MB / 0.558 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.354, allocations: 0.6342 MB / 0.5586 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.3554, allocations: 0.7476 MB / 0.5593 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.3556, allocations: 64 kB / 0.5594 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.3581, allocations: 1.13 MB / 0.5605 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006386/0.3587, allocations: 486.8 kB / 0.561 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007794/0.3595, allocations: 370.4 kB / 0.5613 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.3624, allocations: 1.468 MB / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3624, allocations: 4 kB / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3624, allocations: 0 / 0.5627 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.283e-05/0.3625, allocations: 0 / 0.5627 GB, free: 15.71 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002086/0.3646, allocations: 1.078 MB / 0.5638 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.3646, allocations: 11.98 kB / 0.5638 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.631e-05/0.3646, allocations: 22.19 kB / 0.5638 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.3648, allocations: 123.2 kB / 0.5639 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.368, allocations: 399.9 kB / 0.5643 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.3689, allocations: 429.7 kB / 0.5647 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.3689, allocations: 54.36 kB / 0.5648 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3691, allocations: 72.36 kB / 0.5649 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3711, allocations: 1.183 MB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.3711, allocations: 4 kB / 0.566 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/0.3712, allocations: 39.97 kB / 0.5661 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.3713, allocations: 73.95 kB / 0.5661 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.3733, allocations: 1.241 MB / 0.5673 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.379, allocations: 3.225 MB / 0.5705 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.3808, allocations: 0.9835 MB / 0.5714 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009146/0.3817, allocations: 0.5939 MB / 0.572 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.3818, allocations: 20.94 kB / 0.572 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.3818, allocations: 43.56 kB / 0.5721 GB, free: 5.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 4.147e-06/0.3818, allocations: 0 / 0.5721 GB, free: 5.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007541/0.3893, allocations: 3.006 MB / 0.575 GB, free: 2.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.3894, allocations: 86.11 kB / 0.5751 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.39, allocations: 369.6 kB / 0.5755 GB, free: 2.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.187e-05/0.39, allocations: 37.7 kB / 0.5755 GB, free: 2.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.3903, allocations: 316.9 kB / 0.5758 GB, free: 2.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/0.3907, allocations: 329.1 kB / 0.5761 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.3911, allocations: 170.6 kB / 0.5763 GB, free: 1.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002706/0.3914, allocations: 362.8 kB / 0.5766 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007681/0.3921, allocations: 469.7 kB / 0.5771 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.393, allocations: 0.5657 MB / 0.5776 GB, free: 164 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.3948, allocations: 1.117 MB / 0.5787 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.3948, allocations: 3.984 kB / 0.5787 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002836/0.3977, allocations: 1.454 MB / 0.5801 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.3977, allocations: 14.59 kB / 0.5801 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3977, allocations: 0 / 0.5801 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3988, allocations: 345.7 kB / 0.5805 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.3995, allocations: 179.7 kB / 0.5806 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/0.4061, allocations: 3.91 MB / 0.5845 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.4068, allocations: 43.95 kB / 0.5845 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.4069, allocations: 36.05 kB / 0.5845 GB, free: 8.918 MB / 430.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.0005501/0.4074, allocations: 297.5 kB / 0.5848 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.4076, allocations: 67.59 kB / 0.5849 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/0.4105, allocations: 1.547 MB / 0.5864 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.4106, allocations: 8 kB / 0.5864 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4106, allocations: 11.94 kB / 0.5864 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4106, allocations: 7.984 kB / 0.5864 GB, free: 6.961 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.005471/0.416, allocations: 2.786 MB / 0.5891 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.4161, allocations: 8 kB / 0.5892 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.4167, allocations: 167.7 kB / 0.5893 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008851/0.4176, allocations: 284.9 kB / 0.5896 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.4177, allocations: 23.98 kB / 0.5896 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/0.4233, allocations: 3.703 MB / 0.5932 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/0.4233, allocations: 7.938 kB / 0.5932 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.4261, allocations: 1.587 MB / 0.5948 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.4263, allocations: 67.55 kB / 0.5948 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.4264, allocations: 35.92 kB / 0.5949 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.4268, allocations: 35.97 kB / 0.5949 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.427, allocations: 88.72 kB / 0.595 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/0.4271, allocations: 39.92 kB / 0.595 GB, free: 13.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.4274, allocations: 259.2 kB / 0.5953 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4274, allocations: 0 / 0.5953 GB, free: 13.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001001/0.4284, allocations: 304 kB / 0.5956 GB, free: 13.31 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.002942/0.4313, allocations: 2.145 MB / 0.5977 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.4337, allocations: 1.342 MB / 0.599 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4337, allocations: 0 / 0.599 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.4349, allocations: 0.793 MB / 0.5998 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.4357, allocations: 108.3 kB / 0.5999 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.4529, allocations: 7.55 MB / 0.6072 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.4539, allocations: 472.9 kB / 0.6077 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007799/0.4547, allocations: 184.6 kB / 0.6079 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006448/0.4553, allocations: 255.3 kB / 0.6081 GB, free: 124 kB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4553, allocations: 4 kB / 0.6081 GB, free: 120 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06369/0.519, allocations: 17.83 MB / 0.6255 GB, free: 14.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.48, allocations: 9.75 kB / 0.6255 GB, free: 14.46 MB / 478.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.58955132192932]