Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.001626/0.001626, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001508/0.001508, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1927/0.1927, allocations: 38.55 MB / 352.5 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.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.002147/0.002147, allocations: 64.19 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3684, allocations: 62.46 MB / 0.5419 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009337/0.3777, allocations: 7.052 MB / 0.5488 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007114/0.3848, allocations: 4.163 MB / 0.5529 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004725/0.3853, allocations: 17.25 kB / 0.5529 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.3881, allocations: 1.015 MB / 0.5539 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.3917, allocations: 1.297 MB / 0.5552 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3927, allocations: 349.2 kB / 0.5555 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3947, allocations: 1.394 MB / 0.5569 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009713/0.3957, allocations: 0.5844 MB / 0.5574 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3968, allocations: 0.6615 MB / 0.5581 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.3981, allocations: 0.767 MB / 0.5588 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.3982, allocations: 83.98 kB / 0.5589 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.4015, allocations: 1.403 MB / 0.5603 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007443/0.4022, allocations: 0.6156 MB / 0.5609 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.4028, allocations: 482 kB / 0.5613 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.4067, allocations: 1.904 MB / 0.5632 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4067, allocations: 0 / 0.5632 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4067, allocations: 0 / 0.5632 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.4068, allocations: 0 / 0.5632 GB, free: 14.44 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00304/0.4098, allocations: 1.28 MB / 0.5645 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/0.4099, allocations: 19.92 kB / 0.5645 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.4101, allocations: 160.8 kB / 0.5646 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.4141, allocations: 0.5463 MB / 0.5652 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.4156, allocations: 0.5075 MB / 0.5657 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.4157, allocations: 70.36 kB / 0.5657 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.4159, allocations: 88.36 kB / 0.5658 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.4185, allocations: 1.501 MB / 0.5673 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.4186, allocations: 0 / 0.5673 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4187, allocations: 39.98 kB / 0.5673 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.4189, allocations: 98 kB / 0.5674 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.4215, allocations: 1.534 MB / 0.5689 GB, free: 8.48 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 preOpt removeSimpleEquations (simulation): time 0.009318/0.4308, allocations: 4.358 MB / 0.5732 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.4328, allocations: 1.086 MB / 0.5742 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.4339, allocations: 0.6865 MB / 0.5749 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.4339, allocations: 20.92 kB / 0.5749 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.434, allocations: 43.56 kB / 0.5749 GB, free: 2.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.417e-06/0.434, allocations: 0 / 0.5749 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008045/0.442, allocations: 3.533 MB / 0.5784 GB, free: 14.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4421, allocations: 86.11 kB / 0.5785 GB, free: 14.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/0.4427, allocations: 481.7 kB / 0.5789 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.4427, allocations: 41.7 kB / 0.579 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.4431, allocations: 440.6 kB / 0.5794 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003976/0.4435, allocations: 392.6 kB / 0.5798 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.4438, allocations: 194.9 kB / 0.58 GB, free: 12.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.444, allocations: 378.8 kB / 0.5803 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008849/0.4449, allocations: 0.5413 MB / 0.5809 GB, free: 11.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.446, allocations: 0.7618 MB / 0.5816 GB, free: 11.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.4481, allocations: 1.396 MB / 0.583 GB, free: 9.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.4481, allocations: 4 kB / 0.583 GB, free: 9.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003232/0.4513, allocations: 1.79 MB / 0.5847 GB, free: 7.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4514, allocations: 11.28 kB / 0.5847 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4514, allocations: 4 kB / 0.5847 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4525, allocations: 409.7 kB / 0.5851 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4536, allocations: 235.6 kB / 0.5853 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008096/0.4617, allocations: 5.694 MB / 0.5909 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007832/0.4625, allocations: 63.94 kB / 0.591 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-05/0.4625, allocations: 43.98 kB / 0.591 GB, free: 1.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006195/0.4632, allocations: 369.3 kB / 0.5914 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4633, allocations: 79.59 kB / 0.5914 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.4667, allocations: 1.791 MB / 0.5932 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4668, allocations: 19.94 kB / 0.5932 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.4668, allocations: 15.88 kB / 0.5932 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.4668, allocations: 3.984 kB / 0.5932 GB, free: 14.9 MB / 446.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.006542/0.4733, allocations: 3.184 MB / 0.5963 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.4733, allocations: 4 kB / 0.5963 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.4741, allocations: 187.8 kB / 0.5965 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001168/0.4753, allocations: 358.4 kB / 0.5969 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.4754, allocations: 27.94 kB / 0.5969 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008103/0.4835, allocations: 5.463 MB / 0.6022 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.4835, allocations: 8.062 kB / 0.6022 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.487, allocations: 1.817 MB / 0.604 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.4874, allocations: 79.45 kB / 0.6041 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4875, allocations: 28 kB / 0.6041 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.4881, allocations: 55.88 kB / 0.6042 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.4884, allocations: 92.77 kB / 0.6042 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.838e-05/0.4885, allocations: 47.98 kB / 0.6043 GB, free: 3.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004662/0.4889, allocations: 327.1 kB / 0.6046 GB, free: 2.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4889, allocations: 0 / 0.6046 GB, free: 2.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001448/0.4904, allocations: 399.9 kB / 0.605 GB, free: 2.445 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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.00363/0.494, allocations: 2.38 MB / 0.6073 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003347/0.4973, allocations: 1.677 MB / 0.6089 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4974, allocations: 0 / 0.6089 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001764/0.4991, allocations: 1.03 MB / 0.6099 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.5001, allocations: 126.9 kB / 0.6101 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.5155, allocations: 9.132 MB / 0.619 GB, free: 3.609 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/0.5165, allocations: 0.5677 MB / 0.6195 GB, free: 3.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006804/0.5171, allocations: 241.3 kB / 0.6198 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.5178, allocations: 347.3 kB / 0.6201 GB, free: 2.434 MB / 462.1 MB Notification: Performance of SimCode: time 1.462e-06/0.5178, allocations: 0 / 0.6201 GB, free: 2.434 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06491/0.5827, allocations: 21.94 MB / 0.6415 GB, free: 12.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.87, allocations: 14.47 kB / 0.6415 GB, free: 12.66 MB / 494.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.92232680413872]