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.001569/0.001569, 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.001647/0.001647, allocations: 212.6 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.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1988/0.1988, allocations: 38.55 MB / 352.5 MB, free: 12.34 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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.i.3.|impedance3.p.1.|impedance3.p.2.|impedance3.p.3.|impedance3.v.1.|impedance3.v.2.|impedance3.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [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.002102/0.002102, allocations: 70.41 kB / 493 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 62.46 MB / 0.5424 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.009414/0.4178, allocations: 7.037 MB / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007505/0.4253, allocations: 4.16 MB / 0.5534 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.426, allocations: 20.72 kB / 0.5534 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.4288, allocations: 1.019 MB / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003911/0.4327, allocations: 1.3 MB / 0.5557 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4339, allocations: 350 kB / 0.556 GB, free: 5.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.436, allocations: 1.399 MB / 0.5574 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.437, allocations: 0.5666 MB / 0.5579 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4385, allocations: 0.6693 MB / 0.5586 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.4399, allocations: 0.767 MB / 0.5593 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.44, allocations: 76 kB / 0.5594 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.444, allocations: 1.407 MB / 0.5608 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009098/0.4449, allocations: 0.6156 MB / 0.5614 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.4456, allocations: 482 kB / 0.5618 GB, free: 352 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.45, allocations: 1.912 MB / 0.5637 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.45, allocations: 0 / 0.5637 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.45, allocations: 0 / 0.5637 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.45, allocations: 0 / 0.5637 GB, free: 14.43 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.002647/0.4527, allocations: 1.28 MB / 0.5649 GB, free: 13.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4527, allocations: 15.98 kB / 0.565 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.4568, allocations: 0.5502 MB / 0.5655 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.4582, allocations: 0.5075 MB / 0.566 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.4583, allocations: 62.38 kB / 0.566 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.4585, allocations: 88.36 kB / 0.5661 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.4612, allocations: 1.505 MB / 0.5676 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.4612, allocations: 11.94 kB / 0.5676 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.4613, allocations: 35.98 kB / 0.5676 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/0.4614, allocations: 102 kB / 0.5677 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.4642, allocations: 1.534 MB / 0.5692 GB, free: 8.629 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.00872/0.4729, allocations: 4.222 MB / 0.5734 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.4749, allocations: 1.078 MB / 0.5744 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.476, allocations: 0.6835 MB / 0.5751 GB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.4761, allocations: 21.36 kB / 0.5751 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.4761, allocations: 51.5 kB / 0.5752 GB, free: 2.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 4.348e-06/0.4761, allocations: 0 / 0.5752 GB, free: 2.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008311/0.4844, allocations: 3.513 MB / 0.5786 GB, free: 14.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.4845, allocations: 94.14 kB / 0.5787 GB, free: 14.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/0.4852, allocations: 481.5 kB / 0.5791 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.653e-05/0.4853, allocations: 41.7 kB / 0.5792 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.4857, allocations: 444.5 kB / 0.5796 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.4861, allocations: 388.7 kB / 0.58 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.4865, allocations: 194.9 kB / 0.5802 GB, free: 13.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.4867, allocations: 386.8 kB / 0.5805 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008584/0.4876, allocations: 0.5335 MB / 0.581 GB, free: 12.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.4887, allocations: 0.754 MB / 0.5818 GB, free: 11.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.4911, allocations: 1.4 MB / 0.5832 GB, free: 9.992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.4911, allocations: 4 kB / 0.5832 GB, free: 9.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003296/0.4944, allocations: 1.798 MB / 0.5849 GB, free: 8.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.4944, allocations: 10.97 kB / 0.5849 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4944, allocations: 4 kB / 0.5849 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4956, allocations: 405.5 kB / 0.5853 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4967, allocations: 239.6 kB / 0.5855 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00798/0.5047, allocations: 5.625 MB / 0.591 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.5056, allocations: 63.88 kB / 0.5911 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/0.5057, allocations: 47.98 kB / 0.5911 GB, free: 1.59 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.0006285/0.5063, allocations: 357.5 kB / 0.5915 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5065, allocations: 79.47 kB / 0.5916 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.5099, allocations: 1.795 MB / 0.5933 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.5099, allocations: 12 kB / 0.5933 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.51, allocations: 4 kB / 0.5933 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.51, allocations: 7.969 kB / 0.5933 GB, free: 15.32 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.005937/0.5159, allocations: 3.068 MB / 0.5963 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.5159, allocations: 4 kB / 0.5963 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.5167, allocations: 187.7 kB / 0.5965 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009585/0.5176, allocations: 357.7 kB / 0.5969 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.5177, allocations: 24 kB / 0.5969 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00724/0.5249, allocations: 5.409 MB / 0.6022 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.5249, allocations: 7.938 kB / 0.6022 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.528, allocations: 1.818 MB / 0.6039 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.5282, allocations: 79.47 kB / 0.604 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5283, allocations: 28 kB / 0.604 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.5289, allocations: 55.88 kB / 0.6041 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.5291, allocations: 96.7 kB / 0.6042 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.536e-05/0.5291, allocations: 32 kB / 0.6042 GB, free: 3.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004133/0.5295, allocations: 323.1 kB / 0.6045 GB, free: 3.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5295, allocations: 0 / 0.6045 GB, free: 3.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001328/0.5309, allocations: 400 kB / 0.6049 GB, free: 3.09 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.000214/0.5311, allocations: 127 kB / 0.605 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002948/0.534, allocations: 1.677 MB / 0.6067 GB, free: 1.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.534, allocations: 3.938 kB / 0.6067 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.5357, allocations: 1.022 MB / 0.6077 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.5366, allocations: 137.3 kB / 0.6078 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.5415, allocations: 2.241 MB / 0.61 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009658/0.5424, allocations: 0.5755 MB / 0.6106 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006673/0.5431, allocations: 245.3 kB / 0.6108 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.5434, allocations: 59.42 kB / 0.6108 GB, free: 12.85 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5434, allocations: 0 / 0.6108 GB, free: 12.85 MB / 462.1 MB Notification: Performance of Templates: time 0.02644/0.5698, allocations: 14.03 MB / 0.6245 GB, free: 14.88 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.mat","/var/lib/jenkins/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: 6.0524979420006275]